MCPcopy Create free account

hub / github.com/I-Al-Istannen/SimpleCodeTester / functions

Functions644 in github.com/I-Al-Istannen/SimpleCodeTester

↓ 86 callersMethodget
()
SimpleCodeTester-Runner/src/main/java/me/ialistannen/simplecodetester/runner/execution/ProgramExecutor.java:129
↓ 59 callersMethodgetName
()
SimpleCodeTester-Executor/src/main/java/me/ialistannen/simplecodetester/execution/compilation/memory/InMemoryOutputObject.java:26
↓ 38 callersMethodadd
Adds everything from the given result block to this. @param other the result block to add the results from
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/ResultBlock.java:27
↓ 38 callersMethodmap
(String internalName)
SimpleCodeTester-Executor/src/main/java/me/ialistannen/simplecodetester/execution/diana/Rewriter.java:28
↓ 28 callersMethoderror
Returns an error {@link ResponseEntity} with the given status and message. @param status the {@link HttpStatus} code @param message the message @retu
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/util/ResponseUtil.java:18
↓ 27 callersMethodnext
Returns the next element and advances this block. @return the next element @throws IndexOutOfBoundsException if {@link #hasNext()} is not true
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/Block.java:43
↓ 21 callersMethodtoString
()
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/Block.java:88
↓ 20 callersMethodhasNext
Returns whether there is any data left in the block. @return true if there is any data left in the block
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/Block.java:33
↓ 17 callersMethodname
Returns the name of this check. @return the check's name @implNote The default implementation just uses the class's simple name.
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/Check.java:35
↓ 17 callersMethodtoJson
Converts a check to json blob. @param check the check @return a json blob representing thr check
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/storage/CheckSerializer.java:31
↓ 16 callersMethodsize
@return the current amount of tasks still waiting to be executed
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/services/checkrunning/TaskQueue.java:143
↓ 14 callersMethodfromJson
Converts a check back from json. @param json the json representation @return the read check
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/storage/CheckSerializer.java:55
↓ 13 callersMethodequals
(Object o)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/entities/User.java:36
↓ 12 callersMethodexecute
Executes a program using the passed command. Cancelling the future <em>does not</em> affect the running task. @param command the command to execute @
SimpleCodeTester-Runner/src/main/java/me/ialistannen/simplecodetester/runner/execution/ProgramExecutor.java:44
↓ 12 callersMethodfiles
@return a list with all files
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/CheckResult.java:56
↓ 12 callersMethoduserIdentifier
()
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/submission/CompleteTask.java:21
↓ 11 callersMethodresult
Checks whether the check was successful. @return true if the check was successful
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/CheckResult.java:30
↓ 10 callersMethodgetOutput
Returns the output interleaved with error messages, input and matcher results. @param programOutput the program output @return an interleaved version
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/InterleavedStaticIOCheck.java:160
↓ 10 callersMethodselectFrom
(Table<R> table)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DBReadAccess.java:60
↓ 9 callersMethodcreateGson
Creates a new configured {@link Gson} instance. @return the configured gson instance
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/ConfiguredGson.java:45
↓ 9 callersMethodgetCheck
()
SimpleCodeTester-Backend/src/test/java/me/ialistannen/simplecodetester/backend/services/checks/CodeCheckServiceTest.java:158
↓ 9 callersMethodgetUser
Finds a given user. @param userId the id of the user to delete @return the found user, if any
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/services/user/UserService.java:65
↓ 8 callersMethodaccept
Performs this operation on the given argument. @param t the input argument @return R on successful evaulation @throws E an exception if any occurs du
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/util/CheckedFunction.java:21
↓ 8 callersMethodcheck
Checks a single {@link CompiledFile}. @param file the file to check @return the result of checking the file @throws CheckFailedException if the check
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/Check.java:27
↓ 8 callersMethodgetResults
Returns all results. @return the results
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/ResultBlock.java:89
↓ 7 callersMethodacquireWriteAccess
Acquires read and write access to the database. @return a way to interact with the database
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DatabaseStorage.java:84
↓ 7 callersMethodaddInput
Adds an input line @param input the input
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/ResultBlock.java:63
↓ 7 callersMethoddeleteFrom
(Table<R> table)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DBWriteAccess.java:42
↓ 7 callersMethoddsl
()
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DBReadAccess.java:52
↓ 7 callersMethodgetCheck
(String... lines)
SimpleCodeTester-Lib/src/test/java/me/ialistannen/simplecodetester/checks/defaults/io/InterleavedStaticIOCheckTest.java:223
↓ 7 callersMethodmatch
Checks whether the line matches and returns an error if not. @param output the output block @return true if it matches the line
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/matcher/InterleavedIoMatcher.java:16
↓ 7 callersMethodmessage
The associated message, if any. @return associated message, if any. An empty string if none
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/CheckResult.java:37
↓ 7 callersMethodoutput
Returns the in and output of of the check, maybe with error messages interleaved. @return the in and output of of the check, maybe with error message
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/CheckResult.java:44
↓ 7 callersMethodreadFile
Reads a given file. @param path the name of the file to read @return the contents of the file, with each line being an entry in the array
SimpleCodeTester-Lib/src/main/java/edu/kit/informatik/Terminal.java:93
↓ 6 callersMethodaddError
Adds an error line @param error the error
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/ResultBlock.java:80
↓ 6 callersMethodcanParse
Returns whether the parser can parse the given input @param input the input @return true if the parser can parse the given input
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/parsing/Parser.java:16
↓ 6 callersMethodcontainsUser
Checks if a given user already exists. @param userId the id of the user to check for @return true if the user already exists
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/services/user/UserService.java:55
↓ 6 callersMethoderrorOutput
The {@link System#err} output. @return the {@link System#err} output
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/CheckResult.java:51
↓ 6 callersMethodfindRootCause
Finds the root cause of an exception. @param throwable the exception @return the root cause
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/ExceptionUtil.java:38
↓ 6 callersMethodgetAuthorities
()
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/security/AuthenticatedJwtUser.java:39
↓ 6 callersMethodgetCheck
Finds a check by its unique id. @param id the id of the check @return the check, if found
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/services/checks/CodeCheckService.java:51
↓ 6 callersMethodgetOutputLines
Returns the output that was written in the terminal class. @return the output
SimpleCodeTester-Lib/src/main/java/edu/kit/informatik/Terminal.java:138
↓ 6 callersMethodgetString
Returns the underlying read string. @return the underlying string
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/StringOutputStream.java:39
↓ 6 callersMethodgetType
The type of the line. @return the type of the line
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/LineResult.java:29
↓ 6 callersMethodhasNext
Returns whether there is any matcher left. @return true if there is any matcher left
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/MatcherBlock.java:71
↓ 6 callersMethodisAtStart
Returns whether this block is at the start of its elements. @return true if this block is at the start of its elements
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/Block.java:57
↓ 6 callersMethodnext
Returns the next {@link InterleavedIoMatcher}. @return the next matcher
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/MatcherBlock.java:80
↓ 6 callersMethodparse
Parses the given input. @param input the input @return the parsed matcher
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/parsing/Parser.java:24
↓ 6 callersMethodsave
(User user)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/repos/UserRepository.java:89
↓ 6 callersMethodsuccessful
Checks whether the compilation was successful. @return whether the compilation was successful
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/compilation/CompilationOutput.java:29
↓ 5 callersMethodacquireReadAccess
Acquires read access to the database. @return a way to interact with the database in a read only way
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DatabaseStorage.java:75
↓ 5 callersMethodaddUser
()
SimpleCodeTester-Backend/src/test/java/me/ialistannen/simplecodetester/backend/services/user/UserServiceTest.java:34
↓ 5 callersMethodcompilationOutput
()
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/result/Result.java:22
↓ 5 callersMethodcompiledFiles
Returns all compiled files in this submission. @return all compiled files in this submission
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/submission/CompiledSubmission.java:19
↓ 5 callersMethodcount
()
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/repos/CheckRepository.java:53
↓ 5 callersMethoddiagnostics
Returns diagnostic warnings for each class. @return the diagnostic warnings for the files
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/compilation/CompilationOutput.java:22
↓ 5 callersMethodfileResults
()
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/result/Result.java:20
↓ 5 callersMethodgetContent
The content of the line. @return the content of the line
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/LineResult.java:38
↓ 5 callersMethodgetError
Returns the error message. @return the error message
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/matcher/InterleavedIoMatcher.java:23
↓ 5 callersMethodgetFiles
Returns all files for this check. @return all files for this check @see #setFiles(Collection)
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/Check.java:53
↓ 5 callersMethodqualifiedName
Returns the fully qualified name of this class. @return the qualified name of this class
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/submission/CompiledFile.java:35
↓ 5 callersMethodtoString
()
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/StringOutputStream.java:43
↓ 4 callersMethodacquireReadTransaction
Acquires a transaction that can only read from the database. @param handler the handler that is executed within the context of the transaction. The h
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DatabaseStorage.java:96
↓ 4 callersMethodacquireWriteTransaction
Acquires a transaction that can read and write to the database. @param handler the handler that is executed within the context of the transaction. Th
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DatabaseStorage.java:131
↓ 4 callersMethodaddAndAssertAdded
(Check check)
SimpleCodeTester-Backend/src/test/java/me/ialistannen/simplecodetester/backend/services/checks/CodeCheckServiceTest.java:141
↓ 4 callersMethodassertHasOrder
(List<LineResult> results, LineResult.Type... expected)
SimpleCodeTester-Lib/src/test/java/me/ialistannen/simplecodetester/checks/defaults/io/InterleavedStaticIOCheckTest.java:216
↓ 4 callersMethodassertOutputIsHelloWorld
(Submission submission)
SimpleCodeTester-Executor/src/test/java/me/ialistannen/simplecodetester/execution/compilation/memory/Java17InMemoryCompilerTest.java:90
↓ 4 callersMethodfileToSubmission
(String name, String code)
SimpleCodeTester-Executor/src/test/java/me/ialistannen/simplecodetester/execution/compilation/memory/Java17InMemoryCompilerTest.java:118
↓ 4 callersMethodfindById
(String id)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/repos/UserRepository.java:68
↓ 4 callersMethodgetClassName
Returns the name of the class. @param input the input to check @return the class name if found
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/ClassParsingUtil.java:21
↓ 4 callersFunctiongetPrefix
(line: IoLine)
simplecodetester-frontend/src/util/Highlighting.ts:67
↓ 4 callersMethodgetUpdateTime
()
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/entities/CodeCheck.java:57
↓ 4 callersMethodprintLine
Prints a single line. @param object the object to turn to a string and print. Handles nulls gracefully
SimpleCodeTester-Lib/src/main/java/edu/kit/informatik/Terminal.java:50
↓ 4 callersMethodremove
Deletes a given check. @param id the if of the check @return true if the check was removed
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/endpoints/checks/CheckManageEndpoint.java:263
↓ 4 callersMethodupdateUser
Modifies a given user. @param user the user to modify
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/endpoints/UserManageEndpoint.java:133
↓ 4 callersMethodwrite
(int b)
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/StringOutputStream.java:19
↓ 3 callersMethodaddCheck
()
SimpleCodeTester-Backend/src/test/java/me/ialistannen/simplecodetester/backend/services/checks/CodeCheckServiceTest.java:59
↓ 3 callersMethodaddOutput
Adds an output line. @param output the output to add
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/ResultBlock.java:45
↓ 3 callersMethodasClass
Returns this CompiledFile as a java class. @return the loaded java class for this CompiledFile @throws CompiledClassNotLoadableException if the class
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/submission/CompiledFile.java:52
↓ 3 callersMethodcheckNotClosed
()
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DBWriteAccess.java:36
↓ 3 callersMethodcompilationOutput
Returns the compilation output. @return the compilation output
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/submission/CompiledSubmission.java:33
↓ 3 callersMethodcompile
(Submission submission)
SimpleCodeTester-Executor/src/main/java/me/ialistannen/simplecodetester/execution/Executor.java:57
↓ 3 callersMethodcopyFromStart
Creates a shallow copy of this block that will start iterating at the first element again. @return a shallow copy
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/Block.java:66
↓ 3 callersMethodcreate
(Gson gson, TypeToken<T> type)
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/ConfiguredGson.java:201
↓ 3 callersMethoddelete
(@PathVariable("id") int id)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/endpoints/CheckCategoryEndpoint.java:45
↓ 3 callersMethodemptySuccess
Returns a successful CheckResult with no message. @param check the check that returned this @return a successful CheckResult with no message
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/CheckResult.java:76
↓ 3 callersMethodexistsUserById
(String id)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/repos/UserRepository.java:59
↓ 3 callersMethodfindAll
()
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/repos/UserRepository.java:29
↓ 3 callersMethodfromString
Parses the input and returns a {@link InterleavedStaticIOCheck}. @param input the input to parse @return the check @throws IllegalArgumentException i
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/checks/defaults/io/parsing/InterleavedIoParser.java:44
↓ 3 callersMethodgetAll
Returns all {@link CodeCheck}s. @return all code checks
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/services/checks/CodeCheckService.java:32
↓ 3 callersMethodgetContent
Returns the byte content of this file. @return the byte content
SimpleCodeTester-Executor/src/main/java/me/ialistannen/simplecodetester/execution/compilation/memory/InMemoryOutputObject.java:36
↓ 3 callersMethodgetCurrentStdErr
@return a snapshot of the current standard error
SimpleCodeTester-Runner/src/main/java/me/ialistannen/simplecodetester/runner/execution/StreamsProcessOutput.java:21
↓ 3 callersMethodgetOutput
Returns the output that was written in the terminal class. @return the written input
SimpleCodeTester-Lib/src/main/java/edu/kit/informatik/Terminal.java:127
↓ 3 callersMethodgetStacktrace
Returns the stacktrace of a {@link Throwable} as a string. @param e the {@link Throwable} @return the stacktrace of it
SimpleCodeTester-Lib/src/main/java/me/ialistannen/simplecodetester/util/ExceptionUtil.java:24
↓ 3 callersMethodinsertInto
(Table<R> table)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/storage/DBWriteAccess.java:52
↓ 3 callersMethodisAdmin
(Authentication authentication)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/endpoints/checks/CheckManageEndpoint.java:316
↓ 3 callersMethodisEnabled
()
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/security/AuthenticatedJwtUser.java:72
↓ 3 callersFunctionparseCheckResponse
* Parses a response the server sent for a check. * * @param json the json to parse * @return the parsed CheckResult
simplecodetester-frontend/src/store/modules/checkresult/actions.ts:12
↓ 3 callersMethodreadLine
Reads a single line of input, skipping the newline separator. @return the read line
SimpleCodeTester-Lib/src/main/java/edu/kit/informatik/Terminal.java:76
↓ 3 callersMethodrecordToCheck
(CodeCheckRecord record, User user, CheckCategory category)
SimpleCodeTester-Backend/src/main/java/me/ialistannen/simplecodetester/backend/db/repos/CheckRepository.java:78
next →1–100 of 644, ranked by callers