serialserver/c32serialserver/Test/TE_C32/TE_C32.script
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Contains tests to run on a platform where both ports available and a cable is in place.
       
    15 // 
       
    16 //
       
    17 
       
    18 LOAD_SUITE te_c32
       
    19 
       
    20 //!@file
       
    21 //!@SYMTestCaseID SERCOM/C32/NA/0001
       
    22 //!@SYMREQ REQ0000
       
    23 //!@SYMTestCaseDesc Initializes the c32 drivers
       
    24 //!@SYMTestPriority High
       
    25 //!@SYMTestActions Loads LDD and PDD files and leaves them in memory at the end of the test
       
    26 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    27 //!@SYMTestType CT
       
    28 RUN_TEST_STEP 100 te_c32 TestInit
       
    29 
       
    30 //!@SYMTestCaseID SERCOM/C32/NA/0002
       
    31 //!@SYMREQ REQ0000
       
    32 //!@SYMTestCaseDesc Attempts to start C32 twice
       
    33 //!@SYMTestPriority High
       
    34 //!@SYMTestActions Starts c32 - serial communications server twice 
       
    35 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    36 //!@SYMTestType CT
       
    37 RUN_TEST_STEP 100 te_c32 TestDoubleStart
       
    38 
       
    39 //!@SYMTestCaseID SERCOM/C32/NA/0003
       
    40 //!@SYMREQ REQ0000
       
    41 //!@SYMTestCaseDesc Checks opening and closing of communication ports
       
    42 //!@SYMTestPriority High
       
    43 //!@SYMTestActions Opens and closes ports 
       
    44 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    45 //!@SYMTestType CT
       
    46 RUN_TEST_STEP 100 te_c32 TestOpen
       
    47 
       
    48 //!@SYMTestCaseID SERCOM/C32/NA/0004
       
    49 //!@SYMREQ REQ0000
       
    50 //!@SYMTestCaseDesc Check opening and closing ports with PlatSec, only run this test if PlatSec enabled
       
    51 //!@SYMTestPriority High
       
    52 //!@SYMTestActions Opens and closes ports with PlatSec 
       
    53 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    54 //!@SYMTestType CT
       
    55 RUN_TEST_STEP 100 te_c32 TestPlatSecOpenPortDummy
       
    56 
       
    57 //!@SYMTestCaseID SERCOM/C32/NA/0005
       
    58 //!@SYMREQ REQ0000
       
    59 //!@SYMTestCaseDesc Tests the information services
       
    60 //!@SYMTestPriority High
       
    61 //!@SYMTestActions Gets information on: number of loaded comms modules, and on serial ports  
       
    62 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    63 //!@SYMTestType CT
       
    64 //RUN_TEST_STEP 100 te_c32 TestInfo
       
    65 
       
    66 //!@SYMTestCaseID SERCOM/C32/NA/0006
       
    67 //!@SYMREQ REQ0000
       
    68 //!@SYMTestCaseDesc Test that double reads panics
       
    69 //!@SYMTestPriority High
       
    70 //!@SYMTestActions Opens and attempts to read port twice
       
    71 //!@SYMTestExpectedResults Pass if panic is raised
       
    72 //!@SYMTestType CT
       
    73 RUN_TEST_STEP 100 te_c32 TestDoubleRead
       
    74 
       
    75 //!@SYMTestCaseID SERCOM/C32/NA/0007
       
    76 //!@SYMREQ REQ0000
       
    77 //!@SYMTestCaseDesc Test thread is panicked if it tries to set configuration 
       
    78 //!@SYMTestPriority High
       
    79 //!@SYMTestActions Opens communication port, attempts to read data from the port, tries to read configuration of the port, and at the end attempts to set serial port configuration 
       
    80 //!@SYMTestExpectedResults Pass if panic is raised
       
    81 //!@SYMTestType CT
       
    82 RUN_TEST_STEP 100 te_c32 TestConfigPanic
       
    83 
       
    84 //!@SYMTestCaseID SERCOM/C32/NA/0008
       
    85 //!@SYMREQ REQ0000
       
    86 //!@SYMTestCaseDesc Test attempts to write with a bad descriptor, the test should panic
       
    87 //!@SYMTestPriority High
       
    88 //!@SYMTestActions Opens communication port, creates TBuf8C descriptor, fills in the buffer with data, scribbles on type part of descriptor, and tries to write corrupted descriptor to the port
       
    89 //!@SYMTestExpectedResults Pass if panic is raised
       
    90 //!@SYMTestType CT
       
    91 RUN_TEST_STEP 100 te_c32 TestBadDescriptorPanic
       
    92 
       
    93 //!@SYMTestCaseID SERCOM/C32/NA/0009
       
    94 //!@SYMREQ REQ0000
       
    95 //!@SYMTestCaseDesc Test reading on a port from another thread doesn't panic us..
       
    96 //!@SYMTestPriority High
       
    97 //!@SYMTestActions Opens communication port, and writes a data to the port
       
    98 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
    99 //!@SYMTestType CT
       
   100 RUN_TEST_STEP 100 te_c32 TestBusyReturn
       
   101 
       
   102 //!@SYMTestCaseID SERCOM/C32/NA/0010
       
   103 //!@SYMREQ REQ0000
       
   104 //!@SYMTestCaseDesc Test cancel works...and doesn't panic
       
   105 //!@SYMTestPriority High
       
   106 //!@SYMTestActions Opens communication port, reads from comm port, cancels reading, performs one more time the same action as before, and at the end tries to cancel non existent request
       
   107 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   108 //!@SYMTestType CT
       
   109 RUN_TEST_STEP 100 te_c32 TestCancel
       
   110 
       
   111 //!@SYMTestCaseID SERCOM/C32/NA/0011
       
   112 //!@SYMREQ REQ0000
       
   113 //!@SYMTestCaseDesc Test setting and getting config
       
   114 //!@SYMTestPriority High
       
   115 //!@SYMTestActions Opens two comm sessions, reads config for both opened comm ports, checks that config for both ports is the same, and then checks that changing one changes the other 
       
   116 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   117 //!@SYMTestType CT
       
   118 RUN_TEST_STEP 100 te_c32 TestGetSetConfig
       
   119 
       
   120 //!@SYMTestCaseID SERCOM/C32/NA/0012
       
   121 //!@SYMREQ REQ0000
       
   122 //!@SYMTestCaseDesc Test time outs...
       
   123 //!@SYMTestPriority High
       
   124 //!@SYMTestActions Opens comm port session, sets new comm port configuration (with handshaking on), attepmts to read and write (with timeout), then closes the session, opens the comm port session one more time, tries to read with timeout but just after read request the ReadCancel() is called
       
   125 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   126 //!@SYMTestType CT
       
   127 RUN_TEST_STEP 100 te_c32 TestTimeOut
       
   128 
       
   129 //!@SYMTestCaseID SERCOM/C32/NA/0013
       
   130 //!@SYMREQ REQ0000
       
   131 //!@SYMTestCaseDesc Test opening a port from a thread panicking the thread
       
   132 //!@SYMTestPriority High
       
   133 //!@SYMTestActions Creates a thread, then panics the thread and attepmts to open and close a serial comm port in Exclusive Thread, in the next step it does the same thing but in the Shared Thread
       
   134 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   135 //!@SYMTestType CT
       
   136 RUN_TEST_STEP 100 te_c32 TestThreadPanic
       
   137 
       
   138 //!@SYMTestCaseID SERCOM/C32/NA/0014
       
   139 //!@SYMREQ REQ0000
       
   140 //!@SYMTestCaseDesc Test Buffered comm server options
       
   141 //!@SYMTestPriority High
       
   142 //!@SYMTestActions Opens comm port, enables buffering, checks buffered comm server options  
       
   143 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   144 //!@SYMTestType CT 
       
   145 RUN_TEST_STEP 100 te_c32 TestBufferOptions
       
   146 
       
   147 //!@SYMTestCaseID SERCOM/C32/NA/0015
       
   148 //!@SYMREQ REQ0000
       
   149 //!@SYMTestCaseDesc Test connecting under OOM (Out Of Memory) situation
       
   150 //!@SYMTestPriority High
       
   151 //!@SYMTestActions Connects to the comms server in a loop where the heap allocation failure is simulated.
       
   152 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   153 //!@SYMTestType CT 
       
   154 RUN_TEST_STEP 100 te_c32 TestOOMConnection
       
   155 
       
   156 //!@SYMTestCaseID SERCOM/C32/NA/0016
       
   157 //!@SYMREQ REQ0000
       
   158 //!@SYMTestCaseDesc Test creating ports under OOM (Out Of Memory)
       
   159 //!@SYMTestPriority High
       
   160 //!@SYMTestActions Opens serial comm ports in a loop where the heap allocation failure is simulated.
       
   161 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   162 //!@SYMTestType CT
       
   163 RUN_TEST_STEP 100 te_c32 TestOOMPortCreation
       
   164 
       
   165 //!@SYMTestCaseID SERCOM/C32/NA/0017
       
   166 //!@SYMREQ REQ0000
       
   167 //!@SYMTestCaseDesc Test SetSignals panic bug
       
   168 //!@SYMTestPriority High
       
   169 //!@SYMTestActions Opens serial comm port, reads from serial port, sets RS232 output lines to DTR and RTS (SetSignals), calls ReadCancel(), and  closes comm port
       
   170 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   171 //!@SYMTestType CT
       
   172 RUN_TEST_STEP 100 te_c32 TestSetSignalsPanicBug
       
   173 
       
   174 //!@SYMTestCaseID SERCOM/C32/NA/0018
       
   175 //!@SYMREQ REQ0000
       
   176 //!@SYMTestCaseDesc Test Starting Thread within C32 Process
       
   177 //!@SYMTestPriority High
       
   178 //!@SYMTestActions Creates thread in serial communication process
       
   179 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   180 //!@SYMTestType CT
       
   181 RUN_TEST_STEP 100 te_c32 TestStartServerThread
       
   182 
       
   183 //!@SYMTestCaseID SERCOM/C32/NA/0019
       
   184 //!@SYMREQ REQ0000
       
   185 //!@SYMTestCaseDesc Tests capabilities of comm ports in version 2
       
   186 //!@SYMTestPriority High
       
   187 //!@SYMTestActions Tests capabilities of comm ports in version 2
       
   188 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   189 //!@SYMTestType CT
       
   190 RUN_TEST_STEP 100 te_c32 TestCapsV02
       
   191 
       
   192 //!@SYMTestCaseID SERCOM/C32/NA/0020
       
   193 //!@SYMREQ REQ0000
       
   194 //!@SYMTestCaseDesc Test that the RComm::Open can handle more than 0-9 comports
       
   195 //!@SYMTestPriority High
       
   196 //!@SYMTestActions Test that the RComm::Open can handle more than 0-9 comports
       
   197 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   198 //!@SYMTestType CT
       
   199 RUN_TEST_STEP 100 te_c32 TestOpenPortsWithHighNumbers
       
   200 
       
   201 //!@SYMTestCaseID SERCOM/C32/NA/0021
       
   202 //!@SYMREQ REQ0000
       
   203 //!@SYMTestCaseDesc Test that attempts to allocate a timer under OOM conditions
       
   204 //!@SYMTestPriority High
       
   205 //!@SYMTestActions Trying to handle a global timer allocation failure, and test global timer allocation success
       
   206 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   207 //!@SYMTestType CT
       
   208 RUN_TEST_STEP 100 te_c32 TestTimerAllocation
       
   209 
       
   210 //!@SYMTestCaseID SERCOM/C32/NA/0022
       
   211 //!@SYMREQ REQ0000
       
   212 //!@SYMTestCaseDesc Tests read from and write to comm ports
       
   213 //!@SYMTestPriority High
       
   214 //!@SYMTestActions Opens comm ports, and performs reading and writing of comm ports
       
   215 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   216 //!@SYMTestType CT
       
   217 RUN_TEST_STEP 100 te_c32 TestReadWrite
       
   218 
       
   219 //!@SYMTestCaseID SERCOM/C32/NA/0022
       
   220 //!@SYMREQ REQ0000
       
   221 //!@SYMTestCaseDesc Tests read from and write to comm ports
       
   222 //!@SYMTestPriority High
       
   223 //!@SYMTestActions Opens comm ports, and performs reading and writing of comm ports
       
   224 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   225 //!@SYMTestType CT
       
   226 //HEAP_MARK
       
   227 RUN_TEST_STEP 100 te_c32 TestReadWrite2
       
   228 //HEAP_MARKEND
       
   229 
       
   230 //!@SYMTestCaseID SERCOM/C32/NA/0023
       
   231 //!@SYMREQ REQ0000
       
   232 //!@SYMTestCaseDesc Tests of setting and clearing RS232 output lines (DTR and RTS)
       
   233 //!@SYMTestPriority High
       
   234 //!@SYMTestActions Opens ports, and checks signaling
       
   235 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   236 //!@SYMTestType CT
       
   237 RUN_TEST_STEP 100 te_c32 TestSignalLines
       
   238 
       
   239 //!@SYMTestCaseID SERCOM/C32/NA/0024
       
   240 //!@SYMREQ REQ0000
       
   241 //!@SYMTestCaseDesc Tests Query Receive Buffer method
       
   242 //!@SYMTestPriority High
       
   243 //!@SYMTestActions Opens ports, and gets the number of bytes currently waiting in the driver’s input buffer of opened comm ports
       
   244 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   245 //!@SYMTestType CT
       
   246 RUN_TEST_STEP 100 te_c32 TestQueryreceiveBuffer
       
   247 
       
   248 //!@SYMTestCaseID SERCOM/C32/NA/0025
       
   249 //!@SYMREQ REQ0000
       
   250 //!@SYMTestCaseDesc Tests Write 0 functionality
       
   251 //!@SYMTestPriority High
       
   252 //!@SYMTestActions Opens comm ports, ans writes zero to them
       
   253 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   254 //!@SYMTestType CT
       
   255 RUN_TEST_STEP 100 te_c32 TestWrite0
       
   256 
       
   257 //!@SYMTestCaseID SERCOM/C32/NA/0026
       
   258 //!@SYMREQ REQ0000
       
   259 //!@SYMTestCaseDesc Test ReadOneOrMore function
       
   260 //!@SYMTestPriority High
       
   261 //!@SYMTestActions Opens comm ports, configures them, writes to comm ports, and reads from comm ports using ReadOneOrMore
       
   262 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   263 //!@SYMTestType CT
       
   264 RUN_TEST_STEP 100 te_c32 TestReadOneOrMore
       
   265 
       
   266 //!@SYMTestCaseID SERCOM/C32/NA/0027
       
   267 //!@SYMREQ REQ0000
       
   268 //!@SYMTestCaseDesc Test buffered Read and write
       
   269 //!@SYMTestPriority High
       
   270 //!@SYMTestActions Opens comm ports, and performs buffered read and write
       
   271 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   272 //!@SYMTestType CT
       
   273 RUN_TEST_STEP 100 te_c32 TestBufferReadWrite
       
   274 
       
   275 //!@SYMTestCaseID SERCOM/C32/NA/0028
       
   276 //!@SYMREQ REQ0000
       
   277 //!@SYMTestCaseDesc Test Buffered ReadOneOrMore function 
       
   278 //!@SYMTestPriority High
       
   279 //!@SYMTestActions Opens comm ports, and performs buffered ReadOneOrMore
       
   280 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   281 //!@SYMTestType CT
       
   282 RUN_TEST_STEP 100 te_c32 TestBufferreadOneOrMore
       
   283 
       
   284 //!@SYMTestCaseID SERCOM/C32/NA/0029
       
   285 //!@SYMREQ REQ0000
       
   286 //!@SYMTestCaseDesc Test notification of signals changing
       
   287 //!@SYMTestPriority High
       
   288 //!@SYMTestActions Opens comm ports, and checks if the client is notified when one of the output lines signals change
       
   289 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   290 //!@SYMTestType CT
       
   291 RUN_TEST_STEP 100 te_c32 TestNotifySignals
       
   292 
       
   293 //!@SYMTestCaseID SERCOM/C32/NA/0030
       
   294 //!@SYMREQ REQ0000
       
   295 //!@SYMTestCaseDesc Test notification of data being newly available to be read
       
   296 //!@SYMTestPriority High
       
   297 //!@SYMTestActions Opens comm ports, checks if the client is notified when data is available to be read from the input buffer, writes data, and reads data
       
   298 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   299 //!@SYMTestType CT
       
   300 RUN_TEST_STEP 100 te_c32 TestRxDataAvailable
       
   301 
       
   302 
       
   303 //!@SYMTestCaseID SERCOM/C32/NA/0031
       
   304 //!@SYMREQ REQ0000
       
   305 //!@SYMTestCaseDesc Test that sending 'Hello' is not received as 'ello'
       
   306 //!@SYMTestPriority High
       
   307 //!@SYMTestActions Opens comm ports, and tests that sending 'Hello' is not received as 'ello' in time out situation
       
   308 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   309 //!@SYMTestType CT
       
   310 RUN_TEST_STEP 100 te_c32 TestHelloEllo
       
   311 
       
   312 //!@SYMTestCaseID SERCOM/C32/NA/0032
       
   313 //!@SYMREQ REQ0000
       
   314 //!@SYMTestCaseDesc Test for listing available serial comm ports
       
   315 //!@SYMTestPriority High
       
   316 //!@SYMTestActions Attempts to open all available comm ports as DTE and DCE
       
   317 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   318 //!@SYMTestType CT
       
   319 RUN_TEST_STEP 100 te_c32 Lsc32ListAvailablePorts
       
   320 
       
   321 //!@SYMTestCaseID SERCOM/C32/NA/0033
       
   322 //!@SYMREQ REQ0000
       
   323 //!@SYMTestCaseDesc Tests number of loaded CSY modules
       
   324 //!@SYMTestPriority High
       
   325 //!@SYMTestActions Gets how many comms module (CSYs) are loaded using NumPort() function call
       
   326 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   327 //!@SYMTestType CT
       
   328 RUN_TEST_STEP 100 te_c32 Lsc32ListNumberOfLoadedCSYs
       
   329 
       
   330 //!@SYMTestCaseID SERCOM/C32/NA/0034
       
   331 //!@SYMREQ REQ0000
       
   332 //!@SYMTestCaseDesc Tests loading and unloading comms module
       
   333 //!@SYMTestPriority High
       
   334 //!@SYMTestActions Loads and unload comms module
       
   335 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   336 //!@SYMTestType CT
       
   337 RUN_TEST_STEP 100 te_c32 Lsc32LoadUnloadCsy
       
   338 
       
   339 //!@SYMTestCaseID SERCOM/C32/NA/0035
       
   340 //!@SYMREQ REQ0000
       
   341 //!@SYMTestCaseDesc Test that gets port info for all comms modules loaded
       
   342 //!@SYMTestPriority High
       
   343 //!@SYMTestActions Gets port info for all comms modules loaded
       
   344 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   345 //!@SYMTestType CT
       
   346 //RUN_TEST_STEP 100 te_c32 Lsc32GetPortInfo
       
   347 
       
   348 //!@SYMTestCaseID SERCOM/C32/NA/0036
       
   349 //!@SYMREQ REQ0000
       
   350 //!@SYMTestCaseDesc Calls every C32 API methods as DTE and DCE, will panic if errors occurs on received parameters or return values
       
   351 //!@SYMTestPriority High
       
   352 //!@SYMTestActions Calls every C32 API methods DTE and DCE, will panic if errors occurs on received parameters return values
       
   353 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   354 //!@SYMTestType CT
       
   355 RUN_TEST_STEP 300 te_c32 DummyTest
       
   356 
       
   357 //!@SYMTestCaseID SERCOM/C32/NA/0037
       
   358 //!@SYMREQ REQ0000
       
   359 //!@SYMTestCaseDesc Tests setting a comm port as a DCE
       
   360 //!@SYMTestPriority High
       
   361 //!@SYMTestActions Tests setting a comm port as a DCE 
       
   362 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   363 //!@SYMTestType CT
       
   364 RUN_TEST_STEP 100 te_c32 TestDCEPort
       
   365 
       
   366 //!@file
       
   367 //!@SYMTestCaseID SERCOM/C32/NA/0038
       
   368 //!@SYMREQ CNON-67WJ2G
       
   369 //!@SYMTestCaseDesc Test Loopback
       
   370 //!@SYMTestPriority High
       
   371 //!@SYMTestActions Loads Loopback module, reads and writes some blocks of data
       
   372 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   373 //!@SYMTestType CT
       
   374 RUN_TEST_STEP 100 te_c32 TestLoopback
       
   375 
       
   376 //!@SYMTestCaseID SERCOM/C32/NA/0039
       
   377 //!@SYMREQ DEF080077
       
   378 //!@SYMTestCaseDesc Ensure data written and read match each other
       
   379 //!@SYMTestPriority High
       
   380 //!@SYMTestActions Starts c32 - serial communications 
       
   381 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   382 //!@SYMTestType CT
       
   383 RUN_TEST_STEP 100 te_c32 TestCorrectDataRead
       
   384 
       
   385 //!@SYMTestCaseID SERCOM/C32/NA/0040
       
   386 //!@SYMREQ DEF080077
       
   387 //!@SYMTestCaseDesc Test memory is reclaimed when ResetBuffers called
       
   388 //!@SYMTestPriority High
       
   389 //!@SYMTestActions Starts c32 - serial communications
       
   390 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   391 //!@SYMTestType CT
       
   392 RUN_TEST_STEP 100 te_c32 TestResetBuffers
       
   393 
       
   394 //!@SYMTestCaseID SERCOM/C32/NA/0041
       
   395 //!@SYMREQ DEF080077
       
   396 //!@SYMTestCaseDesc Allocate new heap memory from heap for write buf 
       
   397 //!@SYMTestPriority High
       
   398 //!@SYMTestActions Starts c32 - serial communications 
       
   399 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   400 //!@SYMTestType CT
       
   401 RUN_TEST_STEP 100 te_c32 TestAllocMoreWriteMem
       
   402 
       
   403 //!@SYMTestCaseID SERCOM/C32/NA/0042
       
   404 //!@SYMREQ DEF080077
       
   405 //!@SYMTestCaseDesc Ensures a write fail is handled correctly
       
   406 //!@SYMTestPriority High
       
   407 //!@SYMTestActions Starts c32 - serial communications
       
   408 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   409 //!@SYMTestType CT
       
   410 RUN_TEST_STEP 100 te_c32 TestMemoryWriteFail
       
   411 
       
   412 //!@SYMTestCaseID SERCOM/C32/NA/0043
       
   413 //!@SYMREQ DEF080077
       
   414 //!@SYMTestCaseDesc Ensures a write fails once maximum buffer size is
       
   415 //!@                reached
       
   416 //!@SYMTestPriority High
       
   417 //!@SYMTestActions Starts c32 - serial communications
       
   418 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
       
   419 //!@SYMTestType CT
       
   420 RUN_TEST_STEP 100 te_c32 TestMaxBufferOverflow
       
   421 
       
   422 //!@SYMTestCaseID SERCOM/C32/NA/0044
       
   423 //!@SYMREQ DEF096709 
       
   424 //!@SYMTestCaseDesc Test various combinations of OpenWhenAvailable and its cancel function.
       
   425 //!@SYMTestPriority High
       
   426 //!@SYMTestActions Starts c32 - serial communications
       
   427 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave.
       
   428 //!@SYMTestType CT
       
   429 RUN_TEST_STEP 100 te_c32 TestOpenWhenAvailable
       
   430 
       
   431 RUN_SCRIPT z:\testdata\scripts\te_c32_test_unloadc32Forced.script