|
@@ -0,0 +1,84 @@
|
|
|
+package cn.cslg.pas.service;
|
|
|
+
|
|
|
+import cn.cslg.pas.common.model.params.PatentRightParams;
|
|
|
+import cn.cslg.pas.domain.PatentRight;
|
|
|
+import cn.cslg.pas.service.patentRightSplit.PatentRightSplitENService;
|
|
|
+import org.junit.jupiter.api.Test;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author chenyu
|
|
|
+ * @date 2023/8/30
|
|
|
+ */
|
|
|
+@SpringBootTest
|
|
|
+public class PatentRightSplitENServiceTests {
|
|
|
+ @Autowired
|
|
|
+ private PatentRightSplitENService patentRightSplitENService;
|
|
|
+
|
|
|
+ @Test
|
|
|
+ void testFormatPatentRight() {
|
|
|
+ PatentRightParams params = new PatentRightParams();
|
|
|
+ params.setContent("\"1. A cartridge of an electronic vaping device, the cartridge having an integral structure, the cartridge comprising:\n" +
|
|
|
+ "a housing extending in a longitudinal direction, the housing including,\n" +
|
|
|
+ "a sidewall, the sidewall being generally cylindrical, the sidewall including a first end and a second end,\n" +
|
|
|
+ "a transverse wall at the first end of the sidewall, the transverse wall including at least one outlet therein, and\n" +
|
|
|
+ "an inner tube integrally formed with the sidewall and the transverse wall, the inner tube extending in the longitudinal direction,\n" +
|
|
|
+ "the inner tube concentrically positioned with respect to the sidewall, and\n" +
|
|
|
+ "the inner tube in communication with the at least one outlet; and\n" +
|
|
|
+ "a reservoir between the sidewall and the inner tube, the reservoir configured to contain a pre-vapor formulation.\n" +
|
|
|
+ "2. The cartridge of claim 1, further comprising:\n" +
|
|
|
+ "an end cap configured to connect with the sidewall of the housing at the second end thereof, the end cap including an end cap sidewall and an end wall, the end cap sidewall being generally cylindrical.\n" +
|
|
|
+ "3. The cartridge of claim 2, wherein the end cap sidewall has a smaller outer diameter than an inner diameter of the sidewall of the housing, such that the end cap sidewall is configured to be received in the sidewall of the housing.\n" +
|
|
|
+ "4. The cartridge of claim 3, wherein the end cap includes at least one inlet therein, the at least one inlet in communication with the inner tube when the end cap sidewall is received in the sidewall of the housing.\n" +
|
|
|
+ "5. The cartridge of claim 4, wherein the end cap includes a first orifice and a second orifice extending therethrough, the first orifice and the second orifice configured to be in communication with the reservoir when the end cap sidewall is received in the sidewall of the housing.\n" +
|
|
|
+ "6. The cartridge of claim 5, further comprising:\n" +
|
|
|
+ "a wick, the wick including a first end, a second end, and a central portion between the first end and the second end, the first end and the second end extending through first orifice and the second orifice, the first end and the second end configured to contact pre-vapor formulation contained in the reservoir, the central portion extending over the at least one inlet.\n" +
|
|
|
+ "7. The cartridge of claim 6, wherein the wick is formed of at least one of a cellulosic material, a glass material, glass fibers, and cotton.\n" +
|
|
|
+ "8. The cartridge of claim 6, wherein the end cap includes a third orifice and fourth orifice extending through the end cap.\n" +
|
|
|
+ "9. The cartridge of claim 8, further comprising:\n" +
|
|
|
+ "a second wick, the second wick including a third end, a fourth end, and a second central portion between the third end and the fourth end, the third end and the fourth end extending through the third orifice and the fourth orifice, the third end and the fourth end configured to contact pre-vapor formulation contained in the reservoir, the second central portion overlapping with the first central portion.\n" +
|
|
|
+ "10. The cartridge of claim 6, wherein at least one of the wick and the second wick is generally U-shaped.\n" +
|
|
|
+ "11. The cartridge of claim 1, wherein the housing is formed of plastic.\n" +
|
|
|
+ "12. The cartridge of claim 1, wherein the sidewall has a first outer diameter at the first end and a second outer diameter at the second end, the first outer diameter being larger than the second outer diameter.\n" +
|
|
|
+ "13. An electronic vaping device comprising:\n" +
|
|
|
+ "a cartridge including,\n" +
|
|
|
+ "a housing extending in a longitudinal direction, the housing including,\n" +
|
|
|
+ "a sidewall, the sidewall being generally cylindrical, the sidewall including a first end and a second end,\n" +
|
|
|
+ "a transverse wall at the first end of the sidewall, the transverse wall including at least one outlet therein, and\n" +
|
|
|
+ "an inner tube integrally formed with the housing, the inner tube extending in the longitudinal direction, the inner tube concentrically positioned with respect to the sidewall, and the inner tube in communication with the at least one outlet, and\n" +
|
|
|
+ "a reservoir between the sidewall and the inner tube, the reservoir configured to contain a pre-vapor formulation; and\n" +
|
|
|
+ "a power supply section including,\n" +
|
|
|
+ "a second housing extending in the longitudinal direction, the second housing configured to connect with the housing via a connection,\n" +
|
|
|
+ "a battery in the second housing, and\n" +
|
|
|
+ "a heater electrically connected to the battery.\n" +
|
|
|
+ "14. The electronic vaping device of claim 13, further comprising:\n" +
|
|
|
+ "a support configured to support the heater.\n" +
|
|
|
+ "15. The electronic vaping device of claim 14, wherein the support is ceramic.\n" +
|
|
|
+ "16. The electronic vaping device of claim 14, further comprising:\n" +
|
|
|
+ "an insulation sleeve adjacent the support.\n" +
|
|
|
+ "17. The electronic vaping device of claim 13, further comprising:\n" +
|
|
|
+ "an end cap configured to connect with the sidewall of the housing at the second end thereof, the end cap including an end cap sidewall and an end wall, the end cap sidewall being generally cylindrical.\n" +
|
|
|
+ "18. The electronic vaping device of claim 17, wherein the end cap sidewall has a smaller outer diameter than an inner diameter of the sidewall of the housing, such that the end cap sidewall is configured to be received in the sidewall of the housing.\n" +
|
|
|
+ "19. The electronic vaping device of claim 18, wherein the end cap includes at least one inlet therein, the at least one inlet in communication with the inner tube when the end cap sidewall is received in the sidewall of the housing.\n" +
|
|
|
+ "20. The electronic vaping device of claim 19, wherein the end cap includes a first orifice and a second orifice extending therethrough.\n" +
|
|
|
+ "21. The electronic vaping device of claim 20, further comprising:\n" +
|
|
|
+ "a wick, the wick including a first end, a second end, and a central portion, the first end and the second end extending through first orifice and the second orifice, the first end and the second end configured to contact pre-vapor formulation contained in the reservoir, the central portion extending over the at least one inlet.\n" +
|
|
|
+ "22. The electronic vaping device of claim 21, wherein the wick is formed of at least one of a cellulosic material, a glass material, glass fibers, and cotton.\n" +
|
|
|
+ "23. The electronic vaping device of claim 21, wherein the end cap includes a third orifice and fourth orifice extending through the end cap.\n" +
|
|
|
+ "24. The electronic vaping device of claim 23, further comprising:\n" +
|
|
|
+ "a second wick, the second wick including a third end, a fourth end, and a second central portion, the third end and the fourth end extending through the third orifice and the fourth orifice, the third end and the fourth end configured to contact pre-vapor formulation contained in the reservoir, the second central portion overlapping with the first central portion.\n" +
|
|
|
+ "25. The electronic vaping device of claim 24, wherein at least one of the wick and the second wick is generally U-shaped.\n" +
|
|
|
+ "26. The electronic vaping device of claim 13, wherein the housing is formed of plastic.\n" +
|
|
|
+ "27. The electronic vaping device of claim 13, wherein the sidewall has a first outer diameter at the first end and a second outer diameter at the second end, the first outer diameter being larger than the second outer diameter.\n" +
|
|
|
+ "28. The electronic vaping device of claim 21, wherein the second housing is configured to receive a portion of the cartridge therein, such that the central portion of the wick contacts the heater.\"\n");
|
|
|
+
|
|
|
+ List<PatentRight> patentRights = patentRightSplitENService.formatPatentRight(params);
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|