SILICON
Loading...
Searching...
No Matches
projectDocument.cpp File Reference
#include <core/projectContext.hpp>
#include <core/projectDocument.hpp>
#include <core/isaArchitecture.hpp>
#include <algorithm>
#include <cstdint>
#include <string>
#include <string_view>
#include <type_traits>
#include <vector>
#include <gtest/gtest.h>
#include <nlohmann/json.hpp>
#include <sisl/sisl.hpp>
Include dependency graph for projectDocument.cpp:

Go to the source code of this file.

Classes

class  Document
class  DocumentStore

Enumerations

enum class  DocumentType

Functions

 TEST (ProjectDocumentTest, ClassifiesCanonicalFlatPaths)
 TEST (ProjectDocumentTest, ClassifiesConcreteTypesByCategory)
 TEST (ProjectDocumentTest, ValidatesBinarySlugsAndRoundTripsExactNames)
 TEST (ProjectDocumentTest, ValidatesDocumentNamesAndRoundTripsEveryType)
 TEST (ProjectDocumentTest, ContentReplacementUpdatesOnlyPersistedContents)
 TEST (ProjectDocumentTest, ImportsDocumentsFromDefinitiveExtensions)
 TEST (ProjectDocumentTest, ReadsArchitectureDeclarationWithoutCompilingTheBody)
 TEST (ProjectDocumentTest, ImportsDocumentsDetectedFromContents)
 TEST (ProjectDocumentTest, RejectsUnsupportedImportedDocuments)
 TEST (ProjectDocumentTest, ExportsCanonicalDocumentLeafNames)
 TEST (ProjectDocumentTest, DescribesRegisteredDocumentTypes)
 TEST (ProjectDocumentStoreTest, ProjectContextsOwnIndependentDocumentStores)
 TEST (ProjectDocumentStoreTest, PreservesOrderAcrossMixedKindsAndUpserts)
 TEST (ProjectDocumentStoreTest, RejectsDuplicatePaths)
 TEST (ProjectDocumentStoreTest, NotificationsUseSnapshotAndCanonicalPaths)
 TEST (ProjectDocumentStoreTest, RenamesCircuitAndRewritesSubcircuitReferences)
 TEST (ProjectDocumentStoreTest, RenamesBinaryAndRewritesRomReferences)
 TEST (ProjectDocumentStoreTest, RenamesCodeWithoutChangingContents)
 TEST (ProjectDocumentStoreTest, RejectsInvalidDocumentRenames)

Enumeration Type Documentation

◆ DocumentType

enum class DocumentType
strong

Definition at line 37 of file projectDocument.hpp.

Function Documentation

◆ TEST() [1/19]

TEST ( ProjectDocumentStoreTest ,
NotificationsUseSnapshotAndCanonicalPaths  )

Definition at line 259 of file projectDocument.cpp.

◆ TEST() [2/19]

TEST ( ProjectDocumentStoreTest ,
PreservesOrderAcrossMixedKindsAndUpserts  )

Definition at line 214 of file projectDocument.cpp.

◆ TEST() [3/19]

TEST ( ProjectDocumentStoreTest ,
ProjectContextsOwnIndependentDocumentStores  )

Definition at line 200 of file projectDocument.cpp.

◆ TEST() [4/19]

TEST ( ProjectDocumentStoreTest ,
RejectsDuplicatePaths  )

Definition at line 251 of file projectDocument.cpp.

◆ TEST() [5/19]

TEST ( ProjectDocumentStoreTest ,
RejectsInvalidDocumentRenames  )

Definition at line 361 of file projectDocument.cpp.

◆ TEST() [6/19]

TEST ( ProjectDocumentStoreTest ,
RenamesBinaryAndRewritesRomReferences  )

Definition at line 324 of file projectDocument.cpp.

◆ TEST() [7/19]

TEST ( ProjectDocumentStoreTest ,
RenamesCircuitAndRewritesSubcircuitReferences  )

Definition at line 296 of file projectDocument.cpp.

◆ TEST() [8/19]

TEST ( ProjectDocumentStoreTest ,
RenamesCodeWithoutChangingContents  )

Definition at line 345 of file projectDocument.cpp.

◆ TEST() [9/19]

TEST ( ProjectDocumentTest ,
ClassifiesCanonicalFlatPaths  )

Definition at line 42 of file projectDocument.cpp.

◆ TEST() [10/19]

TEST ( ProjectDocumentTest ,
ClassifiesConcreteTypesByCategory  )

Definition at line 63 of file projectDocument.cpp.

◆ TEST() [11/19]

TEST ( ProjectDocumentTest ,
ContentReplacementUpdatesOnlyPersistedContents  )

Definition at line 109 of file projectDocument.cpp.

◆ TEST() [12/19]

TEST ( ProjectDocumentTest ,
DescribesRegisteredDocumentTypes  )

Definition at line 184 of file projectDocument.cpp.

◆ TEST() [13/19]

TEST ( ProjectDocumentTest ,
ExportsCanonicalDocumentLeafNames  )

Definition at line 176 of file projectDocument.cpp.

◆ TEST() [14/19]

TEST ( ProjectDocumentTest ,
ImportsDocumentsDetectedFromContents  )

Definition at line 152 of file projectDocument.cpp.

◆ TEST() [15/19]

TEST ( ProjectDocumentTest ,
ImportsDocumentsFromDefinitiveExtensions  )

Definition at line 116 of file projectDocument.cpp.

◆ TEST() [16/19]

TEST ( ProjectDocumentTest ,
ReadsArchitectureDeclarationWithoutCompilingTheBody  )

Definition at line 135 of file projectDocument.cpp.

◆ TEST() [17/19]

TEST ( ProjectDocumentTest ,
RejectsUnsupportedImportedDocuments  )

Definition at line 164 of file projectDocument.cpp.

◆ TEST() [18/19]

TEST ( ProjectDocumentTest ,
ValidatesBinarySlugsAndRoundTripsExactNames  )

Definition at line 71 of file projectDocument.cpp.

◆ TEST() [19/19]

TEST ( ProjectDocumentTest ,
ValidatesDocumentNamesAndRoundTripsEveryType  )

Definition at line 85 of file projectDocument.cpp.