Skip to content

Commit

Permalink
test[scala]: scala test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Jul 7, 2024
1 parent 867df6d commit a62d5dd
Show file tree
Hide file tree
Showing 2 changed files with 14,468 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protocol/src/test/scala/com/zfoo/scala/ProtocolManager.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.zfoo.scala
import com.zfoo.scala.packet.EmptyObject
import com.zfoo.scala.packet.RegistrationEmptyObject
import com.zfoo.scala.packet.VeryBigObject
import com.zfoo.scala.packet.RegistrationVeryBigObject
import com.zfoo.scala.packet.ComplexObject
import com.zfoo.scala.packet.RegistrationComplexObject
import com.zfoo.scala.packet.NormalObject
Expand All @@ -22,6 +24,8 @@ object ProtocolManager {
// initProtocol
protocols(0) = RegistrationEmptyObject
protocolIdMap.put(classOf[EmptyObject], 0)
protocols(1) = RegistrationVeryBigObject
protocolIdMap.put(classOf[VeryBigObject], 1)
protocols(100) = RegistrationComplexObject
protocolIdMap.put(classOf[ComplexObject], 100)
protocols(101) = RegistrationNormalObject
Expand Down
Loading

0 comments on commit a62d5dd

Please sign in to comment.