diff --git a/Editor.meta b/Editor.meta new file mode 100644 index 0000000..c611c78 --- /dev/null +++ b/Editor.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 0f73305b5d470c4409e12b062813d833 +folderAsset: yes +DefaultImporter: + userData: diff --git a/Editor/tests.meta b/Editor/tests.meta new file mode 100644 index 0000000..05d19ee --- /dev/null +++ b/Editor/tests.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: a7d785e345fc2af46aae937b058dd221 +folderAsset: yes +DefaultImporter: + userData: diff --git a/Editor/tests/extensions.meta b/Editor/tests/extensions.meta new file mode 100644 index 0000000..a93483c --- /dev/null +++ b/Editor/tests/extensions.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 71f5d71eef3948044976581506277cd8 +folderAsset: yes +DefaultImporter: + userData: diff --git a/Editor/tests/extensions/command.meta b/Editor/tests/extensions/command.meta new file mode 100644 index 0000000..972a470 --- /dev/null +++ b/Editor/tests/extensions/command.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: bbdfe8b65413045419a43dd4b5f0dc79 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/command/TestCommand.cs b/Editor/tests/extensions/command/TestCommand.cs similarity index 100% rename from .tests/extensions/command/TestCommand.cs rename to Editor/tests/extensions/command/TestCommand.cs diff --git a/Editor/tests/extensions/command/TestCommand.cs.meta b/Editor/tests/extensions/command/TestCommand.cs.meta new file mode 100644 index 0000000..8108cb0 --- /dev/null +++ b/Editor/tests/extensions/command/TestCommand.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 65ab750a1f9ec6249a78c2169e6aad88 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/command/TestCommandBinder.cs b/Editor/tests/extensions/command/TestCommandBinder.cs similarity index 100% rename from .tests/extensions/command/TestCommandBinder.cs rename to Editor/tests/extensions/command/TestCommandBinder.cs diff --git a/Editor/tests/extensions/command/TestCommandBinder.cs.meta b/Editor/tests/extensions/command/TestCommandBinder.cs.meta new file mode 100644 index 0000000..91871b7 --- /dev/null +++ b/Editor/tests/extensions/command/TestCommandBinder.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 77771d34c6a87ba45b9cfb2dacedde1d +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/command/TestCommandBinderWithoutPools.cs b/Editor/tests/extensions/command/TestCommandBinderWithoutPools.cs similarity index 100% rename from .tests/extensions/command/TestCommandBinderWithoutPools.cs rename to Editor/tests/extensions/command/TestCommandBinderWithoutPools.cs diff --git a/Editor/tests/extensions/command/TestCommandBinderWithoutPools.cs.meta b/Editor/tests/extensions/command/TestCommandBinderWithoutPools.cs.meta new file mode 100644 index 0000000..050a486 --- /dev/null +++ b/Editor/tests/extensions/command/TestCommandBinderWithoutPools.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ddc59a2f51f82ff43a486a5125029be1 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/command/TestCommandPooling.cs b/Editor/tests/extensions/command/TestCommandPooling.cs similarity index 100% rename from .tests/extensions/command/TestCommandPooling.cs rename to Editor/tests/extensions/command/TestCommandPooling.cs diff --git a/Editor/tests/extensions/command/TestCommandPooling.cs.meta b/Editor/tests/extensions/command/TestCommandPooling.cs.meta new file mode 100644 index 0000000..0173bcd --- /dev/null +++ b/Editor/tests/extensions/command/TestCommandPooling.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f096a77ef84a5bf41b3a0c674ffa5769 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/extensions/context.meta b/Editor/tests/extensions/context.meta new file mode 100644 index 0000000..82e848b --- /dev/null +++ b/Editor/tests/extensions/context.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 09381403ba276e64084d13fc526f1433 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/context/TestContext.cs b/Editor/tests/extensions/context/TestContext.cs similarity index 100% rename from .tests/extensions/context/TestContext.cs rename to Editor/tests/extensions/context/TestContext.cs diff --git a/Editor/tests/extensions/context/TestContext.cs.meta b/Editor/tests/extensions/context/TestContext.cs.meta new file mode 100644 index 0000000..a7b6bf7 --- /dev/null +++ b/Editor/tests/extensions/context/TestContext.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dc61a31b036108d4eb120293d2af2e62 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/context/TestContextRemoval.cs b/Editor/tests/extensions/context/TestContextRemoval.cs similarity index 100% rename from .tests/extensions/context/TestContextRemoval.cs rename to Editor/tests/extensions/context/TestContextRemoval.cs diff --git a/Editor/tests/extensions/context/TestContextRemoval.cs.meta b/Editor/tests/extensions/context/TestContextRemoval.cs.meta new file mode 100644 index 0000000..cbe755a --- /dev/null +++ b/Editor/tests/extensions/context/TestContextRemoval.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ae53e31a84d716644bf9e14d20baffe2 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/context/TestCrossContext.cs b/Editor/tests/extensions/context/TestCrossContext.cs similarity index 90% rename from .tests/extensions/context/TestCrossContext.cs rename to Editor/tests/extensions/context/TestCrossContext.cs index e41827e..d593774 100644 --- a/.tests/extensions/context/TestCrossContext.cs +++ b/Editor/tests/extensions/context/TestCrossContext.cs @@ -179,6 +179,41 @@ public void TestSingleton() } + [Test] + public void TestUnbindParent() + { + Parent.injectionBinder.Bind().CrossContext(); + + Parent.injectionBinder.Unbind(); + + Assert.Throws(delegate() { + Parent.injectionBinder.GetInstance(); + }); + } + + [Test] + public void TestUnbindChild() + { + ChildOne.injectionBinder.Bind().CrossContext(); + + ChildOne.injectionBinder.Unbind(); + + Assert.Throws(delegate() { + ChildOne.injectionBinder.GetInstance(); + }); + } + + [Test] + public void TestUnbindFromOther() + { + ChildOne.injectionBinder.Bind().CrossContext(); + + ChildTwo.injectionBinder.Unbind(); + + Assert.Throws(delegate() { + Parent.injectionBinder.GetInstance(); + }); + } } diff --git a/Editor/tests/extensions/context/TestCrossContext.cs.meta b/Editor/tests/extensions/context/TestCrossContext.cs.meta new file mode 100644 index 0000000..00a2ec2 --- /dev/null +++ b/Editor/tests/extensions/context/TestCrossContext.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 52c855e6a2438784495859c836b2d322 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/context/TestCrossContextBridge.cs b/Editor/tests/extensions/context/TestCrossContextBridge.cs similarity index 100% rename from .tests/extensions/context/TestCrossContextBridge.cs rename to Editor/tests/extensions/context/TestCrossContextBridge.cs diff --git a/Editor/tests/extensions/context/TestCrossContextBridge.cs.meta b/Editor/tests/extensions/context/TestCrossContextBridge.cs.meta new file mode 100644 index 0000000..0e4b26a --- /dev/null +++ b/Editor/tests/extensions/context/TestCrossContextBridge.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8a75dbd9b63b1ee4cbbee7b18d981729 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/extensions/eventdispatcher.meta b/Editor/tests/extensions/eventdispatcher.meta new file mode 100644 index 0000000..2f1956d --- /dev/null +++ b/Editor/tests/extensions/eventdispatcher.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 519478920b593f748a4a7065c3f2313f +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/eventdispatcher/TestEventBinding.cs b/Editor/tests/extensions/eventdispatcher/TestEventBinding.cs similarity index 100% rename from .tests/extensions/eventdispatcher/TestEventBinding.cs rename to Editor/tests/extensions/eventdispatcher/TestEventBinding.cs diff --git a/Editor/tests/extensions/eventdispatcher/TestEventBinding.cs.meta b/Editor/tests/extensions/eventdispatcher/TestEventBinding.cs.meta new file mode 100644 index 0000000..f542fd7 --- /dev/null +++ b/Editor/tests/extensions/eventdispatcher/TestEventBinding.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 74e7d42c4ddfbef4b98a3815230d183d +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/eventdispatcher/TestEventCommand.cs b/Editor/tests/extensions/eventdispatcher/TestEventCommand.cs similarity index 100% rename from .tests/extensions/eventdispatcher/TestEventCommand.cs rename to Editor/tests/extensions/eventdispatcher/TestEventCommand.cs diff --git a/Editor/tests/extensions/eventdispatcher/TestEventCommand.cs.meta b/Editor/tests/extensions/eventdispatcher/TestEventCommand.cs.meta new file mode 100644 index 0000000..27523e8 --- /dev/null +++ b/Editor/tests/extensions/eventdispatcher/TestEventCommand.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 80de026f2d44ae14496707762d2861a7 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/eventdispatcher/TestEventCommandPooling.cs b/Editor/tests/extensions/eventdispatcher/TestEventCommandPooling.cs similarity index 100% rename from .tests/extensions/eventdispatcher/TestEventCommandPooling.cs rename to Editor/tests/extensions/eventdispatcher/TestEventCommandPooling.cs diff --git a/Editor/tests/extensions/eventdispatcher/TestEventCommandPooling.cs.meta b/Editor/tests/extensions/eventdispatcher/TestEventCommandPooling.cs.meta new file mode 100644 index 0000000..a7e3502 --- /dev/null +++ b/Editor/tests/extensions/eventdispatcher/TestEventCommandPooling.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 31d5f2c46b90ce84fa2d7ff7b4937843 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/eventdispatcher/TestEventDispatcher.cs b/Editor/tests/extensions/eventdispatcher/TestEventDispatcher.cs similarity index 100% rename from .tests/extensions/eventdispatcher/TestEventDispatcher.cs rename to Editor/tests/extensions/eventdispatcher/TestEventDispatcher.cs diff --git a/Editor/tests/extensions/eventdispatcher/TestEventDispatcher.cs.meta b/Editor/tests/extensions/eventdispatcher/TestEventDispatcher.cs.meta new file mode 100644 index 0000000..ab90ead --- /dev/null +++ b/Editor/tests/extensions/eventdispatcher/TestEventDispatcher.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1c1a66dc27b85a24daecebeabcc4fcbc +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/extensions/injector.meta b/Editor/tests/extensions/injector.meta new file mode 100644 index 0000000..aff27a6 --- /dev/null +++ b/Editor/tests/extensions/injector.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: ff44a489b6ac5944a871858794580593 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/injector/InjectionSpeedTest.cs b/Editor/tests/extensions/injector/InjectionSpeedTest.cs similarity index 100% rename from .tests/extensions/injector/InjectionSpeedTest.cs rename to Editor/tests/extensions/injector/InjectionSpeedTest.cs diff --git a/Editor/tests/extensions/injector/InjectionSpeedTest.cs.meta b/Editor/tests/extensions/injector/InjectionSpeedTest.cs.meta new file mode 100644 index 0000000..e7b433b --- /dev/null +++ b/Editor/tests/extensions/injector/InjectionSpeedTest.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 73b15fa58a3c7c148beceaa0d5440efe +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/injector/TestImplicitBinding.cs b/Editor/tests/extensions/injector/TestImplicitBinding.cs similarity index 100% rename from .tests/extensions/injector/TestImplicitBinding.cs rename to Editor/tests/extensions/injector/TestImplicitBinding.cs diff --git a/Editor/tests/extensions/injector/TestImplicitBinding.cs.meta b/Editor/tests/extensions/injector/TestImplicitBinding.cs.meta new file mode 100644 index 0000000..2e5ed13 --- /dev/null +++ b/Editor/tests/extensions/injector/TestImplicitBinding.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f48a6dbc5c03e0646a906fac1bc393ef +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/injector/TestInjectionBinder.cs b/Editor/tests/extensions/injector/TestInjectionBinder.cs similarity index 100% rename from .tests/extensions/injector/TestInjectionBinder.cs rename to Editor/tests/extensions/injector/TestInjectionBinder.cs diff --git a/Editor/tests/extensions/injector/TestInjectionBinder.cs.meta b/Editor/tests/extensions/injector/TestInjectionBinder.cs.meta new file mode 100644 index 0000000..ce26a20 --- /dev/null +++ b/Editor/tests/extensions/injector/TestInjectionBinder.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 639fd0d98ee28e14c82caf67c9f965ca +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/injector/TestInjectionBinding.cs b/Editor/tests/extensions/injector/TestInjectionBinding.cs similarity index 100% rename from .tests/extensions/injector/TestInjectionBinding.cs rename to Editor/tests/extensions/injector/TestInjectionBinding.cs diff --git a/Editor/tests/extensions/injector/TestInjectionBinding.cs.meta b/Editor/tests/extensions/injector/TestInjectionBinding.cs.meta new file mode 100644 index 0000000..31d24f2 --- /dev/null +++ b/Editor/tests/extensions/injector/TestInjectionBinding.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b95722c5bba90ac4e93a8e77c11ca6c8 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/injector/TestInjector.cs b/Editor/tests/extensions/injector/TestInjector.cs similarity index 100% rename from .tests/extensions/injector/TestInjector.cs rename to Editor/tests/extensions/injector/TestInjector.cs diff --git a/Editor/tests/extensions/injector/TestInjector.cs.meta b/Editor/tests/extensions/injector/TestInjector.cs.meta new file mode 100644 index 0000000..492e453 --- /dev/null +++ b/Editor/tests/extensions/injector/TestInjector.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2dd8c4bf439027148ac57f0343ac4300 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/injector/TestInjectorFactory.cs b/Editor/tests/extensions/injector/TestInjectorFactory.cs similarity index 100% rename from .tests/extensions/injector/TestInjectorFactory.cs rename to Editor/tests/extensions/injector/TestInjectorFactory.cs diff --git a/Editor/tests/extensions/injector/TestInjectorFactory.cs.meta b/Editor/tests/extensions/injector/TestInjectorFactory.cs.meta new file mode 100644 index 0000000..811f088 --- /dev/null +++ b/Editor/tests/extensions/injector/TestInjectorFactory.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 05ba0477c2283264c9790933958c0389 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/extensions/pool.meta b/Editor/tests/extensions/pool.meta new file mode 100644 index 0000000..45cc0f6 --- /dev/null +++ b/Editor/tests/extensions/pool.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: b51c96aa3e1a30a45aff6fcc809c0293 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/pool/TestPool.cs b/Editor/tests/extensions/pool/TestPool.cs similarity index 100% rename from .tests/extensions/pool/TestPool.cs rename to Editor/tests/extensions/pool/TestPool.cs diff --git a/Editor/tests/extensions/pool/TestPool.cs.meta b/Editor/tests/extensions/pool/TestPool.cs.meta new file mode 100644 index 0000000..afa012c --- /dev/null +++ b/Editor/tests/extensions/pool/TestPool.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 35315015956ae5b40b89ba7b9000b909 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/extensions/reflector.meta b/Editor/tests/extensions/reflector.meta new file mode 100644 index 0000000..567b5a7 --- /dev/null +++ b/Editor/tests/extensions/reflector.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 44fea457d6753cd4596075c727910215 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/reflector/TestReflectionBinder.cs b/Editor/tests/extensions/reflector/TestReflectionBinder.cs similarity index 100% rename from .tests/extensions/reflector/TestReflectionBinder.cs rename to Editor/tests/extensions/reflector/TestReflectionBinder.cs diff --git a/Editor/tests/extensions/reflector/TestReflectionBinder.cs.meta b/Editor/tests/extensions/reflector/TestReflectionBinder.cs.meta new file mode 100644 index 0000000..cde3760 --- /dev/null +++ b/Editor/tests/extensions/reflector/TestReflectionBinder.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cc0904d40a2ab774f954f5a34fea9992 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/extensions/sequencer.meta b/Editor/tests/extensions/sequencer.meta new file mode 100644 index 0000000..537676b --- /dev/null +++ b/Editor/tests/extensions/sequencer.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 6f52f5a33ad51d342a41efe9fbb13967 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/sequencer/TestSequenceCommand.cs b/Editor/tests/extensions/sequencer/TestSequenceCommand.cs similarity index 100% rename from .tests/extensions/sequencer/TestSequenceCommand.cs rename to Editor/tests/extensions/sequencer/TestSequenceCommand.cs diff --git a/Editor/tests/extensions/sequencer/TestSequenceCommand.cs.meta b/Editor/tests/extensions/sequencer/TestSequenceCommand.cs.meta new file mode 100644 index 0000000..55ebb12 --- /dev/null +++ b/Editor/tests/extensions/sequencer/TestSequenceCommand.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: abb598ecf638da44c909e16df281e6c9 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/sequencer/TestSequencer.cs b/Editor/tests/extensions/sequencer/TestSequencer.cs similarity index 100% rename from .tests/extensions/sequencer/TestSequencer.cs rename to Editor/tests/extensions/sequencer/TestSequencer.cs diff --git a/Editor/tests/extensions/sequencer/TestSequencer.cs.meta b/Editor/tests/extensions/sequencer/TestSequencer.cs.meta new file mode 100644 index 0000000..b34513f --- /dev/null +++ b/Editor/tests/extensions/sequencer/TestSequencer.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c52e7829fad75224a86bab1e2f8168b2 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/extensions/signal.meta b/Editor/tests/extensions/signal.meta new file mode 100644 index 0000000..31b46ab --- /dev/null +++ b/Editor/tests/extensions/signal.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: e6a48d4e36932954d8bd4ce7774e7639 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/extensions/signal/TestPooledSignalCommands.cs b/Editor/tests/extensions/signal/TestPooledSignalCommands.cs similarity index 100% rename from .tests/extensions/signal/TestPooledSignalCommands.cs rename to Editor/tests/extensions/signal/TestPooledSignalCommands.cs diff --git a/Editor/tests/extensions/signal/TestPooledSignalCommands.cs.meta b/Editor/tests/extensions/signal/TestPooledSignalCommands.cs.meta new file mode 100644 index 0000000..c712e96 --- /dev/null +++ b/Editor/tests/extensions/signal/TestPooledSignalCommands.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 993379d7cd8a43c47982cad0626ff26d +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/signal/TestSignal.cs b/Editor/tests/extensions/signal/TestSignal.cs similarity index 100% rename from .tests/extensions/signal/TestSignal.cs rename to Editor/tests/extensions/signal/TestSignal.cs diff --git a/Editor/tests/extensions/signal/TestSignal.cs.meta b/Editor/tests/extensions/signal/TestSignal.cs.meta new file mode 100644 index 0000000..5b43b77 --- /dev/null +++ b/Editor/tests/extensions/signal/TestSignal.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6e4da60fc64fc82458ffa4baf0c009f3 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/extensions/signal/TestSignalCommandBinder.cs b/Editor/tests/extensions/signal/TestSignalCommandBinder.cs similarity index 100% rename from .tests/extensions/signal/TestSignalCommandBinder.cs rename to Editor/tests/extensions/signal/TestSignalCommandBinder.cs diff --git a/Editor/tests/extensions/signal/TestSignalCommandBinder.cs.meta b/Editor/tests/extensions/signal/TestSignalCommandBinder.cs.meta new file mode 100644 index 0000000..ad142c6 --- /dev/null +++ b/Editor/tests/extensions/signal/TestSignalCommandBinder.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1ed94c1fc2bca5647877b0bff56e9634 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/framework.meta b/Editor/tests/framework.meta new file mode 100644 index 0000000..4cacd3a --- /dev/null +++ b/Editor/tests/framework.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 360bb568f7c4cb4409154b741ad08835 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/framework/TestBinder.cs b/Editor/tests/framework/TestBinder.cs similarity index 100% rename from .tests/framework/TestBinder.cs rename to Editor/tests/framework/TestBinder.cs diff --git a/Editor/tests/framework/TestBinder.cs.meta b/Editor/tests/framework/TestBinder.cs.meta new file mode 100644 index 0000000..fe9096e --- /dev/null +++ b/Editor/tests/framework/TestBinder.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b2472b4d080c0b54dbc783d793444b5e +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/framework/TestBinding.cs b/Editor/tests/framework/TestBinding.cs similarity index 100% rename from .tests/framework/TestBinding.cs rename to Editor/tests/framework/TestBinding.cs diff --git a/Editor/tests/framework/TestBinding.cs.meta b/Editor/tests/framework/TestBinding.cs.meta new file mode 100644 index 0000000..1279222 --- /dev/null +++ b/Editor/tests/framework/TestBinding.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: acd73e70acc700c47b14b4af3479a94c +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/framework/TestBindingAsPoolFacade.cs b/Editor/tests/framework/TestBindingAsPoolFacade.cs similarity index 99% rename from .tests/framework/TestBindingAsPoolFacade.cs rename to Editor/tests/framework/TestBindingAsPoolFacade.cs index 6906c4e..8c8121c 100644 --- a/.tests/framework/TestBindingAsPoolFacade.cs +++ b/Editor/tests/framework/TestBindingAsPoolFacade.cs @@ -5,7 +5,7 @@ using System.Collections; namespace strange.unittests -{ +{/* [TestFixture()] public class TestBindingAsPoolFacade { @@ -269,5 +269,6 @@ public void Release () someValue = 0; } } + * */ } diff --git a/Editor/tests/framework/TestBindingAsPoolFacade.cs.meta b/Editor/tests/framework/TestBindingAsPoolFacade.cs.meta new file mode 100644 index 0000000..40924e3 --- /dev/null +++ b/Editor/tests/framework/TestBindingAsPoolFacade.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cb19260e89939a44cbfd3cafaaacb43e +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/framework/TestSemiBinding.cs b/Editor/tests/framework/TestSemiBinding.cs similarity index 100% rename from .tests/framework/TestSemiBinding.cs rename to Editor/tests/framework/TestSemiBinding.cs diff --git a/Editor/tests/framework/TestSemiBinding.cs.meta b/Editor/tests/framework/TestSemiBinding.cs.meta new file mode 100644 index 0000000..da4e365 --- /dev/null +++ b/Editor/tests/framework/TestSemiBinding.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8ef1810080a3a4446917f9e56888154d +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/testPayloads.meta b/Editor/tests/testPayloads.meta new file mode 100644 index 0000000..4fb6ca6 --- /dev/null +++ b/Editor/tests/testPayloads.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: aee5f220cb239ff44ba73e9f26368c29 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/testPayloads/AbstractClass.cs b/Editor/tests/testPayloads/AbstractClass.cs similarity index 100% rename from .tests/testPayloads/AbstractClass.cs rename to Editor/tests/testPayloads/AbstractClass.cs diff --git a/Editor/tests/testPayloads/AbstractClass.cs.meta b/Editor/tests/testPayloads/AbstractClass.cs.meta new file mode 100644 index 0000000..3bdb76a --- /dev/null +++ b/Editor/tests/testPayloads/AbstractClass.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5d52383d3031d2545ba1b10b6e6242c1 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/CircularDependencyOne.cs b/Editor/tests/testPayloads/CircularDependencyOne.cs similarity index 100% rename from .tests/testPayloads/CircularDependencyOne.cs rename to Editor/tests/testPayloads/CircularDependencyOne.cs diff --git a/Editor/tests/testPayloads/CircularDependencyOne.cs.meta b/Editor/tests/testPayloads/CircularDependencyOne.cs.meta new file mode 100644 index 0000000..84596b6 --- /dev/null +++ b/Editor/tests/testPayloads/CircularDependencyOne.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 195d487de00c7d449ac1af398382cec3 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/CircularDependencyTwo.cs b/Editor/tests/testPayloads/CircularDependencyTwo.cs similarity index 100% rename from .tests/testPayloads/CircularDependencyTwo.cs rename to Editor/tests/testPayloads/CircularDependencyTwo.cs diff --git a/Editor/tests/testPayloads/CircularDependencyTwo.cs.meta b/Editor/tests/testPayloads/CircularDependencyTwo.cs.meta new file mode 100644 index 0000000..f437212 --- /dev/null +++ b/Editor/tests/testPayloads/CircularDependencyTwo.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8674b837ef22cda4ea90b53b2f620663 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/ClassToBeInjected.cs b/Editor/tests/testPayloads/ClassToBeInjected.cs similarity index 100% rename from .tests/testPayloads/ClassToBeInjected.cs rename to Editor/tests/testPayloads/ClassToBeInjected.cs diff --git a/Editor/tests/testPayloads/ClassToBeInjected.cs.meta b/Editor/tests/testPayloads/ClassToBeInjected.cs.meta new file mode 100644 index 0000000..e5b7982 --- /dev/null +++ b/Editor/tests/testPayloads/ClassToBeInjected.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7df013f5c65930347a274f8c0b9ef9b1 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/ClassWithConstructorParameters.cs b/Editor/tests/testPayloads/ClassWithConstructorParameters.cs similarity index 100% rename from .tests/testPayloads/ClassWithConstructorParameters.cs rename to Editor/tests/testPayloads/ClassWithConstructorParameters.cs diff --git a/Editor/tests/testPayloads/ClassWithConstructorParameters.cs.meta b/Editor/tests/testPayloads/ClassWithConstructorParameters.cs.meta new file mode 100644 index 0000000..2044546 --- /dev/null +++ b/Editor/tests/testPayloads/ClassWithConstructorParameters.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ed42915828c47de41b4c665de9fce53a +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs b/Editor/tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs similarity index 100% rename from .tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs rename to Editor/tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs diff --git a/Editor/tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs.meta b/Editor/tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs.meta new file mode 100644 index 0000000..53fb500 --- /dev/null +++ b/Editor/tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2ebe0e8962ea11f4ebc3f625b3912bd9 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/testPayloads/Commands.meta b/Editor/tests/testPayloads/Commands.meta new file mode 100644 index 0000000..a4fae89 --- /dev/null +++ b/Editor/tests/testPayloads/Commands.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: 6d262533eb5804c4c9e2e2385ab90d1f +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/testPayloads/Commands/AsynchCommand.cs b/Editor/tests/testPayloads/Commands/AsynchCommand.cs similarity index 100% rename from .tests/testPayloads/Commands/AsynchCommand.cs rename to Editor/tests/testPayloads/Commands/AsynchCommand.cs diff --git a/Editor/tests/testPayloads/Commands/AsynchCommand.cs.meta b/Editor/tests/testPayloads/Commands/AsynchCommand.cs.meta new file mode 100644 index 0000000..c963bfb --- /dev/null +++ b/Editor/tests/testPayloads/Commands/AsynchCommand.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6555d47715b59e94ea25f21072e60ecf +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs rename to Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs diff --git a/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs.meta b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs.meta new file mode 100644 index 0000000..5982b7f --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f3d638fc834819345b56ea9dc4be0a51 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs rename to Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs diff --git a/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs.meta b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs.meta new file mode 100644 index 0000000..70661f0 --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3f175af4adc554c48bc1f9ca65437bff +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs rename to Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs diff --git a/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs.meta b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs.meta new file mode 100644 index 0000000..4a5995b --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e7038e71d242ea247a1efad4ab487db1 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandWithExecute.cs b/Editor/tests/testPayloads/Commands/CommandWithExecute.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandWithExecute.cs rename to Editor/tests/testPayloads/Commands/CommandWithExecute.cs diff --git a/Editor/tests/testPayloads/Commands/CommandWithExecute.cs.meta b/Editor/tests/testPayloads/Commands/CommandWithExecute.cs.meta new file mode 100644 index 0000000..129daf4 --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandWithExecute.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ba9409ae43846574ea666b59b68027fd +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandWithInjection.cs b/Editor/tests/testPayloads/Commands/CommandWithInjection.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandWithInjection.cs rename to Editor/tests/testPayloads/Commands/CommandWithInjection.cs diff --git a/Editor/tests/testPayloads/Commands/CommandWithInjection.cs.meta b/Editor/tests/testPayloads/Commands/CommandWithInjection.cs.meta new file mode 100644 index 0000000..bddc3c9 --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandWithInjection.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 63ca9ff11a634fc4ca1df256bf5475c3 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs b/Editor/tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs rename to Editor/tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs diff --git a/Editor/tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs.meta b/Editor/tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs.meta new file mode 100644 index 0000000..87c3016 --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 982f526a0bf5d8e44a42f30051f2abe6 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs b/Editor/tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs rename to Editor/tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs diff --git a/Editor/tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs.meta b/Editor/tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs.meta new file mode 100644 index 0000000..b0c5239 --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 14ddc3004b6265e46a5b0e58bc5cbdec +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/CommandWithoutExecute.cs b/Editor/tests/testPayloads/Commands/CommandWithoutExecute.cs similarity index 100% rename from .tests/testPayloads/Commands/CommandWithoutExecute.cs rename to Editor/tests/testPayloads/Commands/CommandWithoutExecute.cs diff --git a/Editor/tests/testPayloads/Commands/CommandWithoutExecute.cs.meta b/Editor/tests/testPayloads/Commands/CommandWithoutExecute.cs.meta new file mode 100644 index 0000000..bc689d4 --- /dev/null +++ b/Editor/tests/testPayloads/Commands/CommandWithoutExecute.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0793ee426b2608b4e8044fc77e354b25 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/FailCommand.cs b/Editor/tests/testPayloads/Commands/FailCommand.cs similarity index 100% rename from .tests/testPayloads/Commands/FailCommand.cs rename to Editor/tests/testPayloads/Commands/FailCommand.cs diff --git a/Editor/tests/testPayloads/Commands/FailCommand.cs.meta b/Editor/tests/testPayloads/Commands/FailCommand.cs.meta new file mode 100644 index 0000000..965abe1 --- /dev/null +++ b/Editor/tests/testPayloads/Commands/FailCommand.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d422fc804a580254cb5bce17e12305e0 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/Commands/MarkablePoolCommand.cs b/Editor/tests/testPayloads/Commands/MarkablePoolCommand.cs similarity index 100% rename from .tests/testPayloads/Commands/MarkablePoolCommand.cs rename to Editor/tests/testPayloads/Commands/MarkablePoolCommand.cs diff --git a/Editor/tests/testPayloads/Commands/MarkablePoolCommand.cs.meta b/Editor/tests/testPayloads/Commands/MarkablePoolCommand.cs.meta new file mode 100644 index 0000000..184497f --- /dev/null +++ b/Editor/tests/testPayloads/Commands/MarkablePoolCommand.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0b55fda1dc79cb24db12079d06f7bf43 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/ConstructorInjectsClassToBeInjected.cs b/Editor/tests/testPayloads/ConstructorInjectsClassToBeInjected.cs similarity index 100% rename from .tests/testPayloads/ConstructorInjectsClassToBeInjected.cs rename to Editor/tests/testPayloads/ConstructorInjectsClassToBeInjected.cs diff --git a/Editor/tests/testPayloads/ConstructorInjectsClassToBeInjected.cs.meta b/Editor/tests/testPayloads/ConstructorInjectsClassToBeInjected.cs.meta new file mode 100644 index 0000000..2c6dde6 --- /dev/null +++ b/Editor/tests/testPayloads/ConstructorInjectsClassToBeInjected.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3217704691e3df94887533301d1a2e68 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/GuaranteedUniqueInstances.cs b/Editor/tests/testPayloads/GuaranteedUniqueInstances.cs similarity index 100% rename from .tests/testPayloads/GuaranteedUniqueInstances.cs rename to Editor/tests/testPayloads/GuaranteedUniqueInstances.cs diff --git a/Editor/tests/testPayloads/GuaranteedUniqueInstances.cs.meta b/Editor/tests/testPayloads/GuaranteedUniqueInstances.cs.meta new file mode 100644 index 0000000..d0aabcd --- /dev/null +++ b/Editor/tests/testPayloads/GuaranteedUniqueInstances.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 15952c589bf5d704aaf8d7d861235f75 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/HasNamedInjections.cs b/Editor/tests/testPayloads/HasNamedInjections.cs similarity index 100% rename from .tests/testPayloads/HasNamedInjections.cs rename to Editor/tests/testPayloads/HasNamedInjections.cs diff --git a/Editor/tests/testPayloads/HasNamedInjections.cs.meta b/Editor/tests/testPayloads/HasNamedInjections.cs.meta new file mode 100644 index 0000000..1466ff6 --- /dev/null +++ b/Editor/tests/testPayloads/HasNamedInjections.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6f06f96313bbae446b3a0259e459bc67 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/HasTwoInjections.cs b/Editor/tests/testPayloads/HasTwoInjections.cs similarity index 100% rename from .tests/testPayloads/HasTwoInjections.cs rename to Editor/tests/testPayloads/HasTwoInjections.cs diff --git a/Editor/tests/testPayloads/HasTwoInjections.cs.meta b/Editor/tests/testPayloads/HasTwoInjections.cs.meta new file mode 100644 index 0000000..a1816a0 --- /dev/null +++ b/Editor/tests/testPayloads/HasTwoInjections.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a42ed4796ad9bb34a88f9b0f204d05a7 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/IAnotherSimpleInterface.cs b/Editor/tests/testPayloads/IAnotherSimpleInterface.cs similarity index 100% rename from .tests/testPayloads/IAnotherSimpleInterface.cs rename to Editor/tests/testPayloads/IAnotherSimpleInterface.cs diff --git a/Editor/tests/testPayloads/IAnotherSimpleInterface.cs.meta b/Editor/tests/testPayloads/IAnotherSimpleInterface.cs.meta new file mode 100644 index 0000000..7096bd0 --- /dev/null +++ b/Editor/tests/testPayloads/IAnotherSimpleInterface.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b776fb2b5878772468e05e9e8831be12 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/ISimpleInterface.cs b/Editor/tests/testPayloads/ISimpleInterface.cs similarity index 100% rename from .tests/testPayloads/ISimpleInterface.cs rename to Editor/tests/testPayloads/ISimpleInterface.cs diff --git a/Editor/tests/testPayloads/ISimpleInterface.cs.meta b/Editor/tests/testPayloads/ISimpleInterface.cs.meta new file mode 100644 index 0000000..c0d7de9 --- /dev/null +++ b/Editor/tests/testPayloads/ISimpleInterface.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 18ca31071f449294f9d746834b311215 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/InjectableDerivedClass.cs b/Editor/tests/testPayloads/InjectableDerivedClass.cs similarity index 100% rename from .tests/testPayloads/InjectableDerivedClass.cs rename to Editor/tests/testPayloads/InjectableDerivedClass.cs diff --git a/Editor/tests/testPayloads/InjectableDerivedClass.cs.meta b/Editor/tests/testPayloads/InjectableDerivedClass.cs.meta new file mode 100644 index 0000000..2de7444 --- /dev/null +++ b/Editor/tests/testPayloads/InjectableDerivedClass.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6d89963e399e04749aebde7b6eb447ce +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/InjectableSuperClass.cs b/Editor/tests/testPayloads/InjectableSuperClass.cs similarity index 100% rename from .tests/testPayloads/InjectableSuperClass.cs rename to Editor/tests/testPayloads/InjectableSuperClass.cs diff --git a/Editor/tests/testPayloads/InjectableSuperClass.cs.meta b/Editor/tests/testPayloads/InjectableSuperClass.cs.meta new file mode 100644 index 0000000..af0d46a --- /dev/null +++ b/Editor/tests/testPayloads/InjectableSuperClass.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 172924f2cf5270d4895913031189b2db +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/InjectsPostConstructSimple.cs b/Editor/tests/testPayloads/InjectsPostConstructSimple.cs similarity index 100% rename from .tests/testPayloads/InjectsPostConstructSimple.cs rename to Editor/tests/testPayloads/InjectsPostConstructSimple.cs diff --git a/Editor/tests/testPayloads/InjectsPostConstructSimple.cs.meta b/Editor/tests/testPayloads/InjectsPostConstructSimple.cs.meta new file mode 100644 index 0000000..2e8202d --- /dev/null +++ b/Editor/tests/testPayloads/InjectsPostConstructSimple.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c68c1a9fb2dc0594289055672a1a0431 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/MarkerClass.cs b/Editor/tests/testPayloads/MarkerClass.cs similarity index 100% rename from .tests/testPayloads/MarkerClass.cs rename to Editor/tests/testPayloads/MarkerClass.cs diff --git a/Editor/tests/testPayloads/MarkerClass.cs.meta b/Editor/tests/testPayloads/MarkerClass.cs.meta new file mode 100644 index 0000000..e79eda2 --- /dev/null +++ b/Editor/tests/testPayloads/MarkerClass.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0cd9bf7e6fc9b784dbc73f538de9447b +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/MockContext.cs b/Editor/tests/testPayloads/MockContext.cs similarity index 100% rename from .tests/testPayloads/MockContext.cs rename to Editor/tests/testPayloads/MockContext.cs diff --git a/Editor/tests/testPayloads/MockContext.cs.meta b/Editor/tests/testPayloads/MockContext.cs.meta new file mode 100644 index 0000000..654dbeb --- /dev/null +++ b/Editor/tests/testPayloads/MockContext.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 70da0fa277281b1438124a22d109f07f +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/MultipleConstructorsOneThreeFour.cs b/Editor/tests/testPayloads/MultipleConstructorsOneThreeFour.cs similarity index 100% rename from .tests/testPayloads/MultipleConstructorsOneThreeFour.cs rename to Editor/tests/testPayloads/MultipleConstructorsOneThreeFour.cs diff --git a/Editor/tests/testPayloads/MultipleConstructorsOneThreeFour.cs.meta b/Editor/tests/testPayloads/MultipleConstructorsOneThreeFour.cs.meta new file mode 100644 index 0000000..cf15fed --- /dev/null +++ b/Editor/tests/testPayloads/MultipleConstructorsOneThreeFour.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0756ab1456c330542b44499e9e57aca7 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/MultipleConstructorsUntagged.cs b/Editor/tests/testPayloads/MultipleConstructorsUntagged.cs similarity index 100% rename from .tests/testPayloads/MultipleConstructorsUntagged.cs rename to Editor/tests/testPayloads/MultipleConstructorsUntagged.cs diff --git a/Editor/tests/testPayloads/MultipleConstructorsUntagged.cs.meta b/Editor/tests/testPayloads/MultipleConstructorsUntagged.cs.meta new file mode 100644 index 0000000..0554eb9 --- /dev/null +++ b/Editor/tests/testPayloads/MultipleConstructorsUntagged.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ef612fd6d0662a0418ade22e5cacf825 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/NonpublicInjection.cs b/Editor/tests/testPayloads/NonpublicInjection.cs similarity index 100% rename from .tests/testPayloads/NonpublicInjection.cs rename to Editor/tests/testPayloads/NonpublicInjection.cs diff --git a/Editor/tests/testPayloads/NonpublicInjection.cs.meta b/Editor/tests/testPayloads/NonpublicInjection.cs.meta new file mode 100644 index 0000000..711f5da --- /dev/null +++ b/Editor/tests/testPayloads/NonpublicInjection.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: eeaa2ad7aec09b04099bee5c69a09d4d +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/PolymorphicClass.cs b/Editor/tests/testPayloads/PolymorphicClass.cs similarity index 100% rename from .tests/testPayloads/PolymorphicClass.cs rename to Editor/tests/testPayloads/PolymorphicClass.cs diff --git a/Editor/tests/testPayloads/PolymorphicClass.cs.meta b/Editor/tests/testPayloads/PolymorphicClass.cs.meta new file mode 100644 index 0000000..d15a3a4 --- /dev/null +++ b/Editor/tests/testPayloads/PolymorphicClass.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c6aa27c8b29e7ba4987a9a0c972c6185 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/PostConstructClass.cs b/Editor/tests/testPayloads/PostConstructClass.cs similarity index 100% rename from .tests/testPayloads/PostConstructClass.cs rename to Editor/tests/testPayloads/PostConstructClass.cs diff --git a/Editor/tests/testPayloads/PostConstructClass.cs.meta b/Editor/tests/testPayloads/PostConstructClass.cs.meta new file mode 100644 index 0000000..c57975a --- /dev/null +++ b/Editor/tests/testPayloads/PostConstructClass.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 650f19d1da7621c4ca699f25bb0907f1 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/PostConstructSeveralOrdered.cs b/Editor/tests/testPayloads/PostConstructSeveralOrdered.cs similarity index 100% rename from .tests/testPayloads/PostConstructSeveralOrdered.cs rename to Editor/tests/testPayloads/PostConstructSeveralOrdered.cs diff --git a/Editor/tests/testPayloads/PostConstructSeveralOrdered.cs.meta b/Editor/tests/testPayloads/PostConstructSeveralOrdered.cs.meta new file mode 100644 index 0000000..b464f02 --- /dev/null +++ b/Editor/tests/testPayloads/PostConstructSeveralOrdered.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e64ba06ae0befc143a76230406cf18de +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/PostConstructSimple.cs b/Editor/tests/testPayloads/PostConstructSimple.cs similarity index 100% rename from .tests/testPayloads/PostConstructSimple.cs rename to Editor/tests/testPayloads/PostConstructSimple.cs diff --git a/Editor/tests/testPayloads/PostConstructSimple.cs.meta b/Editor/tests/testPayloads/PostConstructSimple.cs.meta new file mode 100644 index 0000000..d3665cd --- /dev/null +++ b/Editor/tests/testPayloads/PostConstructSimple.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5abcec247104bd445b72ae51ff98aff2 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/PostConstructTwo.cs b/Editor/tests/testPayloads/PostConstructTwo.cs similarity index 100% rename from .tests/testPayloads/PostConstructTwo.cs rename to Editor/tests/testPayloads/PostConstructTwo.cs diff --git a/Editor/tests/testPayloads/PostConstructTwo.cs.meta b/Editor/tests/testPayloads/PostConstructTwo.cs.meta new file mode 100644 index 0000000..547b418 --- /dev/null +++ b/Editor/tests/testPayloads/PostConstructTwo.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7b39b5817a985c047be5af2c573e8341 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Editor/tests/testPayloads/SequenceCommands.meta b/Editor/tests/testPayloads/SequenceCommands.meta new file mode 100644 index 0000000..0f406b3 --- /dev/null +++ b/Editor/tests/testPayloads/SequenceCommands.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: b1b249da1ce68c84b8144be25c10ee42 +folderAsset: yes +DefaultImporter: + userData: diff --git a/.tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs similarity index 100% rename from .tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs rename to Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs diff --git a/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs.meta b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs.meta new file mode 100644 index 0000000..02d72d4 --- /dev/null +++ b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: da3b3072ef5ce2c49818bf3524dcf3d9 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs similarity index 100% rename from .tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs rename to Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs diff --git a/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs.meta b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs.meta new file mode 100644 index 0000000..49bca90 --- /dev/null +++ b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 26253a2ebe762054da110caeae1009f3 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs similarity index 100% rename from .tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs rename to Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs diff --git a/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs.meta b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs.meta new file mode 100644 index 0000000..54450c4 --- /dev/null +++ b/Editor/tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2b18f6558ebbf3d499d3f7658da6fd7b +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs b/Editor/tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs similarity index 100% rename from .tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs rename to Editor/tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs diff --git a/Editor/tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs.meta b/Editor/tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs.meta new file mode 100644 index 0000000..5c4ab28 --- /dev/null +++ b/Editor/tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 28e1f4ecbc609f1418fa2b5d33c8758e +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/SimpleInterfaceImplementer.cs b/Editor/tests/testPayloads/SimpleInterfaceImplementer.cs similarity index 100% rename from .tests/testPayloads/SimpleInterfaceImplementer.cs rename to Editor/tests/testPayloads/SimpleInterfaceImplementer.cs diff --git a/Editor/tests/testPayloads/SimpleInterfaceImplementer.cs.meta b/Editor/tests/testPayloads/SimpleInterfaceImplementer.cs.meta new file mode 100644 index 0000000..56fe8ab --- /dev/null +++ b/Editor/tests/testPayloads/SimpleInterfaceImplementer.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c4808a115aa48814ba4a6fb5996d0fb7 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/SimpleInterfaceImplementerTwo.cs b/Editor/tests/testPayloads/SimpleInterfaceImplementerTwo.cs similarity index 100% rename from .tests/testPayloads/SimpleInterfaceImplementerTwo.cs rename to Editor/tests/testPayloads/SimpleInterfaceImplementerTwo.cs diff --git a/Editor/tests/testPayloads/SimpleInterfaceImplementerTwo.cs.meta b/Editor/tests/testPayloads/SimpleInterfaceImplementerTwo.cs.meta new file mode 100644 index 0000000..e25ed93 --- /dev/null +++ b/Editor/tests/testPayloads/SimpleInterfaceImplementerTwo.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cb87831e2d3159c49ae6ba2e38f00370 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/SomeEnum.cs b/Editor/tests/testPayloads/SomeEnum.cs similarity index 100% rename from .tests/testPayloads/SomeEnum.cs rename to Editor/tests/testPayloads/SomeEnum.cs diff --git a/Editor/tests/testPayloads/SomeEnum.cs.meta b/Editor/tests/testPayloads/SomeEnum.cs.meta new file mode 100644 index 0000000..c37842e --- /dev/null +++ b/Editor/tests/testPayloads/SomeEnum.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ca663e4bde93bb04f8eac8fe5d938972 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/.tests/testPayloads/TestException.cs b/Editor/tests/testPayloads/TestException.cs similarity index 100% rename from .tests/testPayloads/TestException.cs rename to Editor/tests/testPayloads/TestException.cs diff --git a/Editor/tests/testPayloads/TestException.cs.meta b/Editor/tests/testPayloads/TestException.cs.meta new file mode 100644 index 0000000..1071d3b --- /dev/null +++ b/Editor/tests/testPayloads/TestException.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4b4a181c0300577449a52e8b82e5c447 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/extensions/injector/impl/CrossContextInjectionBinder.cs b/extensions/injector/impl/CrossContextInjectionBinder.cs index fbb2d4f..8979949 100644 --- a/extensions/injector/impl/CrossContextInjectionBinder.cs +++ b/extensions/injector/impl/CrossContextInjectionBinder.cs @@ -95,6 +95,19 @@ override public void ResolveBinding(IBinding binding, object key) } } + public override void Unbind(object key, object name) { + IInjectionBinding binding = GetBinding(key, name); + + if (binding != null) { + if (binding.isCrossContext) { + if (CrossContextBinder != null) { + CrossContextBinder.Unbind(key, name); + } + } + } + base.Unbind(key, name); + } + protected override IInjector GetInjectorForBinding(IInjectionBinding binding) { if (binding.isCrossContext && CrossContextBinder != null)