Initial commit

This commit is contained in:
giuseppenuc committed 2016-01-11 17:06:43 +01:00
commit 2b564cb203
28 files changed
+1148

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
+10
View File
@@ -0,0 +1,10 @@
// The contents of this file are implicitly included at the beginning of every test case source file.
#ifdef __OBJC__
@import Specta;
@import Expecta;
@import FBSnapshotTestCase;
@import Expecta_Snapshots;
#endif
+48
View File
@@ -0,0 +1,48 @@
//
// GradientButtonTests.m
// GradientButtonTests
//
// Created by Giuseppe Nucifora on 01/11/2016.
// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved.
//
// https://github.com/Specta/Specta
SpecBegin(InitialSpecs)
describe(@"these will fail", ^{
it(@"can do maths", ^{
expect(1).to.equal(2);
});
it(@"can read", ^{
expect(@"number").to.equal(@"string");
});
it(@"will wait for 10 seconds and fail", ^{
waitUntil(^(DoneCallback done) {
});
});
});
describe(@"these will pass", ^{
it(@"can do maths", ^{
expect(1).beLessThan(23);
});
it(@"can read", ^{
expect(@"team").toNot.contain(@"I");
});
it(@"will wait and succeed", ^{
waitUntil(^(DoneCallback done) {
done();
});
});
});
SpecEnd
+2
View File
@@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */