Comments (4)
I started working on it here:
https://github.com/technology-ebay-de/objection/tree/xcode_64
from objection.
After forcing Travis to use Xcode 6.4 and updating Quick and Nimble to their latest master, the build is working. But two tests are red:
https://travis-ci.org/technology-ebay-de/objection
I've also added xcpretty
for better readability on Travis :). I'll now have a look into the failing tests. I just wonder why they are failing now, but are green before my changes. This really is weird, isn't it?!
from objection.
I think the tests went wrong in 644b27a:
diff --git a/Specs/BasicUsageSpecs.m b/Specs/BasicUsageSpecs.m
index 9048c99..b700668 100644
--- a/Specs/BasicUsageSpecs.m
+++ b/Specs/BasicUsageSpecs.m
@@ -59,8 +59,8 @@ it(@"calls awakeFromObjection when injecting dependencies into properties of an
[[JSObjection defaultInjector] injectDependencies:car];
- assertThatBool([car awake], equalToBool(YES));
- assertThatBool([car.engine awake], equalToBool(YES));
+ assertThatBool([car awake], isTrue());
+ assertThatBool([car.engine awake], isFalse());
});
it(@"defaults to returning a new instance", ^{
@@ -111,8 +111,8 @@ it(@"calls awakeFromObjection when an object has been constructed", ^{
id engine = [[JSObjection defaultInjector] getObject:[Engine class]];
id car = [[JSObjection defaultInjector] getObject:[Car class]];
- assertThatBool([engine awake], equalToBool(YES));
- assertThatBool([car awake], equalToBool(YES));
+ assertThatBool([engine awake], isTrue());
+ assertThatBool([car awake], isFalse());
});
from objection.
Build is green, I'll make a pull request.
https://travis-ci.org/technology-ebay-de/objection/builds/73369216
from objection.
Related Issues (20)
- Support setting properties of non-object types
- Does objection inject dependencies automatically on creation? HOT 2
- frida ๅฝไปค้่ฏฏ
- Compatibility with Swift HOT 3
- Reseting Objection's global context storage caches HOT 2
- Injection at Initialization HOT 3
- Inject property declared in a category.
- Sharing singleton scope when deriving a new injector HOT 1
- Ability to specify override objects HOT 5
- @objection_initializer not passing arguments HOT 2
- Injecting object with protocol and superclass
- about sample? HOT 1
- why not use modern objective-c
- Why "JSObjectionModule.m" file line fifth to write "#import <Objection/JSObjectionProviderEntry.h>", but not "#import "JSObjectionProviderEntry.h"".
- why JSObjectionEntry's injector property is "assign" not "weak"?
- Passing nil arguments for get objection object HOT 7
- inScope:JSObjectionScopeSingleton doesn't work since Cocoapods version 1.6 HOT 19
- Getting a reference to the JSObjectionInjector which created an object? HOT 2
- Undeclared selector warnings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from objection.