aboutsummaryrefslogtreecommitdiff
path: root/.idea
diff options
context:
space:
mode:
Diffstat (limited to '.idea')
-rw-r--r--.idea/dictionaries/CatilGrass.xml7
-rw-r--r--.idea/runConfigurations/Run_Console_Client.xml3
-rw-r--r--.idea/runConfigurations/Run_Console_Server.xml2
-rw-r--r--.idea/runConfigurations/Run_Test.xml2
-rw-r--r--.idea/runConfigurations/Test_ALL.xml20
-rw-r--r--.idea/runConfigurations/Test_Message_Encoder.xml20
-rw-r--r--.idea/workspace.xml114
7 files changed, 157 insertions, 11 deletions
diff --git a/.idea/dictionaries/CatilGrass.xml b/.idea/dictionaries/CatilGrass.xml
new file mode 100644
index 0000000..6fe5bae
--- /dev/null
+++ b/.idea/dictionaries/CatilGrass.xml
@@ -0,0 +1,7 @@
+<component name="ProjectDictionaryState">
+ <dictionary name="CatilGrass">
+ <words>
+ <w>bincode</w>
+ </words>
+ </dictionary>
+</component> \ No newline at end of file
diff --git a/.idea/runConfigurations/Run_Console_Client.xml b/.idea/runConfigurations/Run_Console_Client.xml
index 8dff88c..490a86d 100644
--- a/.idea/runConfigurations/Run_Console_Client.xml
+++ b/.idea/runConfigurations/Run_Console_Client.xml
@@ -1,5 +1,6 @@
<component name="ProjectRunConfigurationManager">
- <configuration default="false" name="Run Console Client" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Test">
+ <configuration default="false" name="Run Console Client" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Console">
+ <option name="buildProfileId" value="dev" />
<option name="command" value="run --package there-is-nopads-test --bin console_client" />
<option name="workingDirectory" value="file://$PROJECT_DIR$/core/test" />
<envs />
diff --git a/.idea/runConfigurations/Run_Console_Server.xml b/.idea/runConfigurations/Run_Console_Server.xml
index c943fb8..732bf70 100644
--- a/.idea/runConfigurations/Run_Console_Server.xml
+++ b/.idea/runConfigurations/Run_Console_Server.xml
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
- <configuration default="false" name="Run Console Server" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Test">
+ <configuration default="false" name="Run Console Server" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Console">
<option name="command" value="run --package there-is-nopads-test --bin console_server" />
<option name="workingDirectory" value="file://$PROJECT_DIR$/core/test" />
<envs />
diff --git a/.idea/runConfigurations/Run_Test.xml b/.idea/runConfigurations/Run_Test.xml
index e12228f..053cd05 100644
--- a/.idea/runConfigurations/Run_Test.xml
+++ b/.idea/runConfigurations/Run_Test.xml
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
- <configuration default="false" name="Run Test" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Test">
+ <configuration default="false" name="Run Test" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Console">
<option name="buildProfileId" value="dev" />
<option name="command" value="run --package there-is-nopads-test --bin there-is-nopads-test" />
<option name="workingDirectory" value="file://$PROJECT_DIR$/core/test" />
diff --git a/.idea/runConfigurations/Test_ALL.xml b/.idea/runConfigurations/Test_ALL.xml
new file mode 100644
index 0000000..e61d396
--- /dev/null
+++ b/.idea/runConfigurations/Test_ALL.xml
@@ -0,0 +1,20 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Test ALL" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Unit_Tests">
+ <option name="buildProfileId" value="dev" />
+ <option name="command" value="run" />
+ <option name="workingDirectory" value="file://$PROJECT_DIR$/client" />
+ <envs />
+ <option name="emulateTerminal" value="true" />
+ <option name="channel" value="DEFAULT" />
+ <option name="requiredFeatures" value="true" />
+ <option name="allFeatures" value="false" />
+ <option name="withSudo" value="false" />
+ <option name="buildTarget" value="REMOTE" />
+ <option name="backtrace" value="SHORT" />
+ <option name="isRedirectInput" value="false" />
+ <option name="redirectInputPath" value="" />
+ <method v="2">
+ <option name="RunConfigurationTask" enabled="true" run_configuration_name="Test Message Encoder" run_configuration_type="CargoCommandRunConfiguration" />
+ </method>
+ </configuration>
+</component> \ No newline at end of file
diff --git a/.idea/runConfigurations/Test_Message_Encoder.xml b/.idea/runConfigurations/Test_Message_Encoder.xml
new file mode 100644
index 0000000..25a0d5a
--- /dev/null
+++ b/.idea/runConfigurations/Test_Message_Encoder.xml
@@ -0,0 +1,20 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Test Message Encoder" type="CargoCommandRunConfiguration" factoryName="Cargo Command" folderName="Unit_Tests">
+ <option name="buildProfileId" value="test" />
+ <option name="command" value="test --package there-is-nopads-core --lib test_message_encoder::test::test_message_encoder -- --exact" />
+ <option name="workingDirectory" value="file://$PROJECT_DIR$/core" />
+ <envs />
+ <option name="emulateTerminal" value="true" />
+ <option name="channel" value="DEFAULT" />
+ <option name="requiredFeatures" value="true" />
+ <option name="allFeatures" value="false" />
+ <option name="withSudo" value="false" />
+ <option name="buildTarget" value="REMOTE" />
+ <option name="backtrace" value="SHORT" />
+ <option name="isRedirectInput" value="false" />
+ <option name="redirectInputPath" value="" />
+ <method v="2">
+ <option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
+ </method>
+ </configuration>
+</component> \ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e053028..5fbc683 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -9,10 +9,12 @@
<cargoProject FILE="$PROJECT_DIR$/core/test/Cargo.toml" />
</component>
<component name="ChangeListManager">
- <list default="true" id="43098f42-7a3b-4fc2-ad78-a08c96f7f5db" name="Changes" comment=".">
- <change beforePath="$PROJECT_DIR$/.idea/runConfigurations/Test_Message_Encoder.xml" beforeDir="false" />
+ <list default="true" id="43098f42-7a3b-4fc2-ad78-a08c96f7f5db" name="Changes" comment="添加单元测试">
+ <change beforePath="$PROJECT_DIR$/.idea/runConfigurations/Run_Console_Client.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/runConfigurations/Run_Console_Client.xml" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/.idea/runConfigurations/Run_Console_Server.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/runConfigurations/Run_Console_Server.xml" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/.idea/runConfigurations/Run_Test.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/runConfigurations/Run_Test.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/core/src/message_encoder.rs" beforeDir="false" afterPath="$PROJECT_DIR$/core/src/message_encoder.rs" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/core/src/player/player_info.rs" beforeDir="false" afterPath="$PROJECT_DIR$/core/src/player/player_info.rs" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -31,6 +33,11 @@
<option name="NEW_BASE" value="main" />
</component>
<component name="Git.Settings">
+ <option name="RECENT_BRANCH_BY_REPOSITORY">
+ <map>
+ <entry key="$PROJECT_DIR$" value="main" />
+ </map>
+ </option>
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="GitHubPullRequestSearchHistory"><![CDATA[{
@@ -45,6 +52,9 @@
"accountId": "34f7046b-db2c-4cf0-8894-3b6963dd549d"
}
}]]></component>
+ <component name="HighlightingSettingsPerFile">
+ <setting file="file://$USER_HOME$/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-2.0.1/src/de/mod.rs" root0="SKIP_INSPECTION" />
+ </component>
<component name="MacroExpansionManager">
<option name="directoryName" value="EK7IzXE2" />
</component>
@@ -64,16 +74,19 @@
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Attach to Node.js/Chrome.Unnamed.executor": "Debug",
+ "Cargo.Run Console Client.executor": "Run",
+ "Cargo.Run Test.executor": "Run",
"Cargo.Run phantomlink-gamepad-client.executor": "Run",
"Cargo.Run phantomlink-server-test.executor": "Run",
"Cargo.Test Message Encoder.executor": "Run",
"Cargo.Test encoder_tests.executor": "Run",
"Cargo.Test message_encoder::encoder_tests::test_encode_decode.executor": "Run",
+ "Cargo.Test test_message_encoder::test::test_message_encoder.executor": "Run",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"RunOnceActivity.rust.reset.selective.auto.import": "true",
"Shell Script.Shell Generate Documents.executor": "Run",
- "git-widget-placeholder": "main",
+ "git-widget-placeholder": "develop",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
@@ -85,17 +98,24 @@
"vue.rearranger.settings.migration": "true"
}
}]]></component>
- <component name="RunManager" selected="Cargo.Run Test">
+ <component name="RunManager" selected="Cargo.Run Console Client">
<list>
<item itemvalue="Cargo.Run Console Client" />
<item itemvalue="Cargo.Run Console Server" />
<item itemvalue="Cargo.Run Test" />
+ <item itemvalue="Cargo.Test ALL" />
+ <item itemvalue="Cargo.Test Message Encoder" />
<item itemvalue="Cargo.Run Gamepad Client" />
<item itemvalue="Shell Script.Generate Documents (Linux)" />
<item itemvalue="Shell Script.Initialize (Linux)" />
<item itemvalue="Shell Script.Generate Documents (Windows)" />
<item itemvalue="Shell Script.Initialize (Windows)" />
</list>
+ <recent_temporary>
+ <list>
+ <item itemvalue="Cargo.Test Message Encoder" />
+ </list>
+ </recent_temporary>
</component>
<component name="RustProjectSettings">
<option name="toolchainHomeDirectory" value="$USER_HOME$/.cargo/bin" />
@@ -112,7 +132,7 @@
<workItem from="1745180836475" duration="8116000" />
<workItem from="1745249796881" duration="84000" />
<workItem from="1745249888324" duration="2865000" />
- <workItem from="1745253286696" duration="65000" />
+ <workItem from="1745253286696" duration="5515000" />
</task>
<task id="LOCAL-00001" summary="修改作者所有权">
<option name="closed" value="true" />
@@ -130,7 +150,79 @@
<option name="project" value="LOCAL" />
<updated>1745187955275</updated>
</task>
- <option name="localTasksCounter" value="3" />
+ <task id="LOCAL-00003" summary=".">
+ <option name="closed" value="true" />
+ <created>1745253542975</created>
+ <option name="number" value="00003" />
+ <option name="presentableId" value="LOCAL-00003" />
+ <option name="project" value="LOCAL" />
+ <updated>1745253542975</updated>
+ </task>
+ <task id="LOCAL-00004" summary="修改测试">
+ <option name="closed" value="true" />
+ <created>1745253762526</created>
+ <option name="number" value="00004" />
+ <option name="presentableId" value="LOCAL-00004" />
+ <option name="project" value="LOCAL" />
+ <updated>1745253762526</updated>
+ </task>
+ <task id="LOCAL-00005" summary="添加单元测试配置文件">
+ <option name="closed" value="true" />
+ <created>1745258666544</created>
+ <option name="number" value="00005" />
+ <option name="presentableId" value="LOCAL-00005" />
+ <option name="project" value="LOCAL" />
+ <updated>1745258666544</updated>
+ </task>
+ <task id="LOCAL-00006" summary=".">
+ <option name="closed" value="true" />
+ <created>1745258672581</created>
+ <option name="number" value="00006" />
+ <option name="presentableId" value="LOCAL-00006" />
+ <option name="project" value="LOCAL" />
+ <updated>1745258672581</updated>
+ </task>
+ <task id="LOCAL-00007" summary="默认端口号常量命名变更">
+ <option name="closed" value="true" />
+ <created>1745258744905</created>
+ <option name="number" value="00007" />
+ <option name="presentableId" value="LOCAL-00007" />
+ <option name="project" value="LOCAL" />
+ <updated>1745258744905</updated>
+ </task>
+ <task id="LOCAL-00008" summary="客户端和服务端控制台的完善">
+ <option name="closed" value="true" />
+ <created>1745258772264</created>
+ <option name="number" value="00008" />
+ <option name="presentableId" value="LOCAL-00008" />
+ <option name="project" value="LOCAL" />
+ <updated>1745258772264</updated>
+ </task>
+ <task id="LOCAL-00009" summary="添加单元测试">
+ <option name="closed" value="true" />
+ <created>1745258789452</created>
+ <option name="number" value="00009" />
+ <option name="presentableId" value="LOCAL-00009" />
+ <option name="project" value="LOCAL" />
+ <updated>1745258789452</updated>
+ </task>
+ <task id="LOCAL-00010" summary="完善消息编码器">
+ <option name="closed" value="true" />
+ <created>1745258815713</created>
+ <option name="number" value="00010" />
+ <option name="presentableId" value="LOCAL-00010" />
+ <option name="project" value="LOCAL" />
+ <updated>1745258815713</updated>
+ </task>
+ <task id="LOCAL-00011" summary="添加单元测试">
+ <option name="closed" value="true" />
+ <created>1745258824923</created>
+ <option name="number" value="00011" />
+ <option name="presentableId" value="LOCAL-00011" />
+ <option name="project" value="LOCAL" />
+ <updated>1745258824923</updated>
+ </task>
+ <option name="localTasksCounter" value="12" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@@ -138,8 +230,14 @@
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="修改作者所有权" />
+ <MESSAGE value="修改测试" />
+ <MESSAGE value="添加单元测试配置文件" />
<MESSAGE value="." />
- <option name="LAST_COMMIT_MESSAGE" value="." />
+ <MESSAGE value="默认端口号常量命名变更" />
+ <MESSAGE value="客户端和服务端控制台的完善" />
+ <MESSAGE value="完善消息编码器" />
+ <MESSAGE value="添加单元测试" />
+ <option name="LAST_COMMIT_MESSAGE" value="添加单元测试" />
</component>
<component name="XSLT-Support.FileAssociations.UIState">
<expand />