-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
2,387 additions
and
79 deletions.
There are no files selected for viewing
1,313 changes: 1,313 additions & 0 deletions
1,313
SpeckleConnector/Connector.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
SpeckleConnector/Connector.xcodeproj/xcshareddata/xcschemes/Connector-AC26-EN-GB.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1530" | ||
version = "1.7"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES" | ||
buildArchitectures = "Automatic"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "21CE8A922CE4F3370076522F" | ||
BuildableName = "Connector-AC26-EN-GB.bundle" | ||
BlueprintName = "Connector-AC26-EN-GB" | ||
ReferencedContainer = "container:Connector.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Release" | ||
selectedDebuggerIdentifier = "" | ||
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
shouldAutocreateTestPlan = "YES"> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Release" | ||
selectedDebuggerIdentifier = "" | ||
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
<PathRunnable | ||
runnableDebuggingMode = "0" | ||
FilePath = "/Applications/Graphisoft/Archicad 26/Archicad 26.app"> | ||
</PathRunnable> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "21CE8A922CE4F3370076522F" | ||
BuildableName = "Connector-AC26-EN-GB.bundle" | ||
BlueprintName = "Connector-AC26-EN-GB" | ||
ReferencedContainer = "container:Connector.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Release"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
SpeckleConnector/ConnectorDoctest/SerialiseTests/ModelCardSerialiseTest.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#include "ActiveLibDoctest/TestingPlatforms.h" | ||
|
||
#include "Connector/Record/Model/CardMover.h" | ||
#include "Connector/Record/Model/ModelCard.h" | ||
#include "Active/Serialise/CargoHold.h" | ||
#include "Active/Serialise/JSON/JSONTransport.h" | ||
#include "Active/Utility/BufferIn.h" | ||
#include "Speckle/Utility/String.h" | ||
|
||
namespace { | ||
|
||
speckle::utility::String json{"{\n\ | ||
\"typeDiscriminator\": \"SenderModelCard\",\n\ | ||
\"modelCardId\": \"8a007ac08b43771ec20d\",\n\ | ||
\"modelId\": \"c9b5a4fa94\",\n\ | ||
\"projectId\": \"ce9a0d130e\",\n\ | ||
\"workspaceId\": \"10ee1c0f73\",\n\ | ||
\"accountId\": \"5724C96F3FF796628292B6E67E86CC2F\",\n\ | ||
\"serverUrl\": \"https://app.speckle.systems\",\n\ | ||
\"expired\": false,\n\ | ||
\"sendFilter\": {\n\ | ||
\"typeDiscriminator\": \"ArchicadSelectionFilter\",\n\ | ||
\"selectedObjectIds\": [\n\ | ||
\"7B531D03-0219-420F-BE86-633451AEF19B\"\n\ | ||
],\n\ | ||
\"name\": \"Selection\",\n\ | ||
\"summary\": \"1 objects selected.\"\n\ | ||
}\n\ | ||
}"}; | ||
|
||
} | ||
using namespace speckle::utility; | ||
|
||
TEST_SUITE(TESTQ(ModelCardSerialiseTest)) TEST_SUITE_OPEN | ||
|
||
///Test for deserialising a ModelCard | ||
TEST_CASE(TESTQ(deserialiseModelCard)) { | ||
using CardHold = active::serialise::CargoHold<connector::record::CardMover, connector::record::ModelCard>; | ||
CardHold result; | ||
active::serialise::json::JSONTransport().receive(std::forward<CardHold&&>(result), active::serialise::Identity{}, json); | ||
} | ||
|
||
TEST_SUITE_CLOSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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>English</string> | ||
<key>CFBundleGetInfoString</key> | ||
<string>Speckle Connector for Archicad 26</string> | ||
<key>CFBundleIconFile</key> | ||
<string>ArchiCADPlugin.icns</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>Speckle Connector</string> | ||
<key>CFBundlePackageType</key> | ||
<string>.APX</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>Speckle Connector</string> | ||
<key>CFBundleSignature</key> | ||
<string>GSAP</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string> | ||
<key>LSRequiresCarbon</key> | ||
<true/> | ||
</dict> | ||
</plist> |
Oops, something went wrong.